java.lang.Object
io.github.projectunified.unidialog.packetevents.input.PEDialogInput
All Implemented Interfaces:
AdventureSupport
Direct Known Subclasses:
PEBooleanInput, PEDialogInputBuilder, PENumberRangeInput, PESingleOptionInput, PETextInput

public abstract class PEDialogInput extends Object implements AdventureSupport
  • Constructor Details

    • PEDialogInput

      protected PEDialogInput(Function<String,net.kyori.adventure.text.Component> componentDeserializer)
  • Method Details

    • getInput

      public abstract com.github.retrooper.packetevents.protocol.dialog.input.InputControl getInput()
    • getComponentDeserializer

      public Function<String,net.kyori.adventure.text.Component> getComponentDeserializer()
      Description copied from interface: AdventureSupport
      Get the deserializer function that converts a string to a Component
      Specified by:
      getComponentDeserializer in interface AdventureSupport
      Returns:
      the function that deserializes a string into a Component