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

public static class DialogueInputEvent.Submitted extends DialogueInputEvent
Called when the player interacts with any of the buttons of the dialogue GUI.
  • Constructor Details

    • Submitted

      public Submitted(net.minecraft.server.level.ServerPlayer player, DialogueButton button, String input, InputSettings settings)
      Parameters:
      player - The player
      button - The button
      input - The input text
      settings - The input settings
  • Method Details

    • getInput

      public String getInput()
    • getButton

      public DialogueButton getButton()
    • getSettings

      public InputSettings getSettings()
    • setSettings

      public void setSettings(InputSettings settings)
    • setInput

      public void setInput(String input)
    • isCloseUI

      public boolean isCloseUI()
    • setCloseUI

      public void setCloseUI(boolean closeUI)