Class PESingleOptionInput

java.lang.Object
io.github.projectunified.unidialog.packetevents.input.PEDialogInput
io.github.projectunified.unidialog.packetevents.input.PESingleOptionInput
All Implemented Interfaces:
AdventureSingleOptionInput<PESingleOptionInput>, AdventureSupport, SingleOptionInput<PESingleOptionInput>

public class PESingleOptionInput extends PEDialogInput implements AdventureSingleOptionInput<PESingleOptionInput>
A PacketEvents-based implementation of AdventureSingleOptionInput for single option inputs.
  • Constructor Details

    • PESingleOptionInput

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