Class PaperBooleanInput

java.lang.Object
io.github.projectunified.unidialog.paper.input.PaperDialogInput
io.github.projectunified.unidialog.paper.input.PaperBooleanInput
All Implemented Interfaces:
AdventureBooleanInput<PaperBooleanInput>, AdventureSupport, BooleanInput<PaperBooleanInput>

public class PaperBooleanInput extends PaperDialogInput implements AdventureBooleanInput<PaperBooleanInput>
A boolean input for the Paper platform
  • Constructor Details

    • PaperBooleanInput

      public PaperBooleanInput(String key, Function<String,net.kyori.adventure.text.Component> componentDeserializer)
      Constructor for PaperBooleanInput
      Parameters:
      key - the input key
      componentDeserializer - a function to deserialize components from strings
  • Method Details