Uses of Class
me.agent.vgui.api.ViewBuilder
Packages that use ViewBuilder
Package
Description
-
Uses of ViewBuilder in me.agent.vgui.api
Methods in me.agent.vgui.api that return ViewBuilderModifier and TypeMethodDescriptionViewBuilder.cancelClientTransactions(boolean cancel) static ViewBuilderVGui.chest(int rows) Starts building a chest view with the given number of rows (1-6).ViewBuilder.clickCooldown(Duration cooldown) Places an item at a row/column position (applied after the layout).Places an item at a flat slot index (applied after the layout).Sets a character-mask layout.Maps a layout character to an item ('.'and' 'stay empty).ViewBuilder.onAnvilInput(BiConsumer<String, ViewContents> onAnvilInput) Runs on anvil rename input (only forViewType.ANVILviews).ViewBuilder.onClick(Consumer<ClickContext> onClick) Runs for every click (after any per-item handler).ViewBuilder.onClose(CloseHandler onClose) Runs when the view closes.ViewBuilder.onOpen(Consumer<ViewContents> onOpen) Runs after the layout and items are applied when the view opens for a player.ViewBuilder.title(net.kyori.adventure.text.Component title) Sets the window title.ViewBuilder.updateEvery(Duration interval, Consumer<ViewContents> task) Registers a repeating update task started when the view opens and cancelled when it closes.static ViewBuilderStarts building a view of the given type.