Class BungeeBooleanInput

java.lang.Object
io.github.projectunified.unidialog.bungeecord.input.BungeeDialogInput
io.github.projectunified.unidialog.bungeecord.input.BungeeBooleanInput
All Implemented Interfaces:
io.github.projectunified.unidialog.core.input.BooleanInput<BungeeBooleanInput>

public class BungeeBooleanInput extends BungeeDialogInput implements io.github.projectunified.unidialog.core.input.BooleanInput<BungeeBooleanInput>
  • Constructor Details

    • BungeeBooleanInput

      public BungeeBooleanInput(String key)
  • Method Details

    • label

      public BungeeBooleanInput label(net.md_5.bungee.api.chat.BaseComponent label)
      Set the label for the input.
      Parameters:
      label - the label to display for the input
      Returns:
      the current instance for method chaining
    • label

      public BungeeBooleanInput label(String label)
      Specified by:
      label in interface io.github.projectunified.unidialog.core.input.BooleanInput<BungeeBooleanInput>
    • initial

      public BungeeBooleanInput initial(boolean initial)
      Specified by:
      initial in interface io.github.projectunified.unidialog.core.input.BooleanInput<BungeeBooleanInput>
    • onTrue

      public BungeeBooleanInput onTrue(String onTrue)
      Specified by:
      onTrue in interface io.github.projectunified.unidialog.core.input.BooleanInput<BungeeBooleanInput>
    • onFalse

      public BungeeBooleanInput onFalse(String onFalse)
      Specified by:
      onFalse in interface io.github.projectunified.unidialog.core.input.BooleanInput<BungeeBooleanInput>
    • getDialogInput

      public net.md_5.bungee.api.dialog.input.DialogInput getDialogInput()
      Specified by:
      getDialogInput in class BungeeDialogInput