Uses of Interface
me.agent.vgui.api.View
Packages that use View
Package
Description
Click handling: the decoded
ClickType and the
ClickContext passed to handlers.Global observation hooks:
VGuiListener.Player text input via anvil windows:
AnvilInputView.Items shown in views:
ViewItem slot entries and the
cross-version ItemBuilder.-
Uses of View in me.agent.vgui.api
Classes in me.agent.vgui.api that implement ViewModifier and TypeClassDescriptionclassConvenience base class for static 9xN chest menus: callChestView.setItem(int, ViewItem)in your constructor and the items are applied every time the view opens.Methods in me.agent.vgui.api that return ViewModifier and TypeMethodDescriptionViewBuilder.build()Builds the immutable, reusable view.static ViewVGui.currentView(com.velocitypowered.api.proxy.Player player) VGuiService.currentView(com.velocitypowered.api.proxy.Player player) The player's open view, ornull.Methods in me.agent.vgui.api with parameters of type ViewModifier and TypeMethodDescriptionstatic voidstatic voidVGui.open(com.velocitypowered.api.proxy.Player player, View view, Consumer<ViewContext> contextBuilder) static voidVGui.open(com.velocitypowered.api.proxy.Player player, View view, ViewContext context) voidOpens a view.voidVGuiService.open(com.velocitypowered.api.proxy.Player player, View view, Consumer<ViewContext> contextBuilder) Opens a view, configuring a fresh context first.voidVGuiService.open(com.velocitypowered.api.proxy.Player player, View view, ViewContext context) Opens a view with a pre-populated context.static voidVGui.openReplacing(com.velocitypowered.api.proxy.Player player, View view) voidVGuiService.openReplacing(com.velocitypowered.api.proxy.Player player, View view) Opens a view without pushing the currently open view onto the back-history.voidVGuiService.openReplacing(com.velocitypowered.api.proxy.Player player, View view, ViewContext context) Opens a view without pushing history, with a pre-populated context. -
Uses of View in me.agent.vgui.api.click
Methods in me.agent.vgui.api.click that return ViewMethods in me.agent.vgui.api.click with parameters of type ViewModifier and TypeMethodDescriptionvoidOpens another view, pushing the current one onto the back-history.voidClickContext.openReplacing(View view) Opens another view without pushing history. -
Uses of View in me.agent.vgui.api.contents
Methods in me.agent.vgui.api.contents that return ViewModifier and TypeMethodDescriptionViewContents.view()The view definition these contents belong to.Methods in me.agent.vgui.api.contents with parameters of type ViewModifier and TypeMethodDescriptionvoidOpens another view, pushing the current one onto the player's back-history.voidViewContents.openReplacing(View view) Opens another view without pushing the current one onto the back-history. -
Uses of View in me.agent.vgui.api.event
Methods in me.agent.vgui.api.event with parameters of type ViewModifier and TypeMethodDescriptiondefault voidVGuiListener.onClose(com.velocitypowered.api.proxy.Player player, View view, CloseReason reason) Called after a view closed for a player.default voidVGuiListener.onOpen(com.velocitypowered.api.proxy.Player player, View view, ViewContents contents) Called after a view opened for a player. -
Uses of View in me.agent.vgui.api.input
Classes in me.agent.vgui.api.input that implement ViewModifier and TypeClassDescriptionfinal classA text-input prompt rendered as an anvil window: the player types in the rename field and clicks the output slot to confirm. -
Uses of View in me.agent.vgui.api.item
Methods in me.agent.vgui.api.item with parameters of type ViewModifier and TypeMethodDescriptionstatic ViewItemAn item that opens another view (pushing back-history) when clicked.Method parameters in me.agent.vgui.api.item with type arguments of type View -
Uses of View in me.agent.vgui.core.internal
Methods in me.agent.vgui.core.internal that return ViewModifier and TypeMethodDescriptionVGuiServiceImpl.currentView(com.velocitypowered.api.proxy.Player player) DefaultViewContents.view()ViewSession.view()Methods in me.agent.vgui.core.internal with parameters of type ViewModifier and TypeMethodDescriptionvoidvoidSessionManager.open(com.velocitypowered.api.proxy.Player player, View view, ViewContext context, boolean pushHistory) Opens a view.voidvoidVGuiServiceImpl.open(com.velocitypowered.api.proxy.Player player, View view, Consumer<ViewContext> contextBuilder) voidVGuiServiceImpl.open(com.velocitypowered.api.proxy.Player player, View view, ViewContext context) voidDefaultViewContents.openReplacing(View view) voidVGuiServiceImpl.openReplacing(com.velocitypowered.api.proxy.Player player, View view) voidVGuiServiceImpl.openReplacing(com.velocitypowered.api.proxy.Player player, View view, ViewContext context)