Class DialogueInputEvent.Submitted
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.dialogue.event.DialogueInputEvent
com.pixelmonmod.pixelmon.api.dialogue.event.DialogueInputEvent.Submitted
- Enclosing class:
DialogueInputEvent
Called when the player interacts with any of the buttons of the
dialogue GUI.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.dialogue.event.DialogueInputEvent
DialogueInputEvent.ClosedScreen, DialogueInputEvent.Submitted -
Constructor Summary
ConstructorsConstructorDescriptionSubmitted(net.minecraft.server.level.ServerPlayer player, DialogueButton button, String input, InputSettings settings) -
Method Summary
Modifier and TypeMethodDescriptiongetInput()booleanvoidsetCloseUI(boolean closeUI) voidvoidsetSettings(InputSettings settings) Methods inherited from class com.pixelmonmod.pixelmon.api.dialogue.event.DialogueInputEvent
getPlayer
-
Constructor Details
-
Submitted
public Submitted(net.minecraft.server.level.ServerPlayer player, DialogueButton button, String input, InputSettings settings) - Parameters:
player- The playerbutton- The buttoninput- The input textsettings- The input settings
-
-
Method Details
-
getInput
-
getButton
-
getSettings
-
setSettings
-
setInput
-
isCloseUI
public boolean isCloseUI() -
setCloseUI
public void setCloseUI(boolean closeUI)
-