Class DialogueInputEvent.Submitted
java.lang.Object
net.minecraftforge.eventbus.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
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionSubmitted
(net.minecraft.server.level.ServerPlayer player, DialogueButton button, String input, InputSettings settings) -
Method Summary
Modifier and TypeMethodDescriptiongetInput()
boolean
void
setCloseUI
(boolean closeUI) void
void
setSettings
(InputSettings settings) Methods inherited from class com.pixelmonmod.pixelmon.api.dialogue.event.DialogueInputEvent
getPlayer
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
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)
-