Interface AdventureNumberRangeInput<T extends AdventureNumberRangeInput<T>>

Type Parameters:
T - the type of the input, for method chaining
All Superinterfaces:
AdventureSupport, io.github.projectunified.unidialog.core.input.NumberRangeInput<T>

public interface AdventureNumberRangeInput<T extends AdventureNumberRangeInput<T>> extends io.github.projectunified.unidialog.core.input.NumberRangeInput<T>, AdventureSupport
An extension of NumberRangeInput that provides additional methods for handling Component labels.
  • Field Summary

    Fields inherited from interface io.github.projectunified.unidialog.core.input.NumberRangeInput

    DEFAULT_LABEL_FORMAT, DEFAULT_WIDTH
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    label(String label)
     
    label(net.kyori.adventure.text.Component label)
    Set the label for the input

    Methods inherited from interface io.github.projectunified.unidialog.adventure.support.AdventureSupport

    deserialize, getComponentDeserializer

    Methods inherited from interface io.github.projectunified.unidialog.core.input.NumberRangeInput

    end, initial, labelFormat, start, step, width
  • Method Details

    • label

      T label(net.kyori.adventure.text.Component label)
      Set the label for the input
      Parameters:
      label - the label text
      Returns:
      the current instance for method chaining
    • label

      default T label(String label)
      Specified by:
      label in interface io.github.projectunified.unidialog.core.input.NumberRangeInput<T extends AdventureNumberRangeInput<T>>