Uses of Class
me.agent.vgui.api.input.AnvilInputView.Builder
Packages that use AnvilInputView.Builder
-
Uses of AnvilInputView.Builder in me.agent.vgui.api.input
Methods in me.agent.vgui.api.input that return AnvilInputView.BuilderModifier and TypeMethodDescriptionstatic AnvilInputView.BuilderAnvilInputView.builder()Starts building an anvil input prompt.AnvilInputView.Builder.initialText(String initialText) Text pre-filled in the rename field.AnvilInputView.Builder.itemType(com.github.retrooper.packetevents.protocol.item.type.ItemType itemType) Item type shown in the input and output slots (default paper).Called when the player closes the prompt without confirming.AnvilInputView.Builder.onConfirm(BiConsumer<com.velocitypowered.api.proxy.Player, String> onConfirm) Called when the player clicks the output slot to confirm.AnvilInputView.Builder.onType(BiConsumer<String, ViewContents> onType) Called on every keystroke with the full current text.AnvilInputView.Builder.title(net.kyori.adventure.text.Component title) Window title.