Class InputControlTypes
java.lang.Object
com.github.retrooper.packetevents.protocol.dialog.input.InputControlTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final InputControlType<BooleanInputControl> static final InputControlType<NumberRangeInputControl> static final InputControlType<SingleOptionInputControl> static final InputControlType<TextInputControl> -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends InputControl>
InputControlType<T> define(String name, NbtMapDecoder<T> decoder, NbtMapEncoder<T> encoder) static VersionedRegistry<InputControlType<?>>
-
Field Details
-
BOOLEAN
-
NUMBER_RANGE
-
SINGLE_OPTION
-
TEXT
-
-
Method Details
-
getRegistry
-
define
@Internal public static <T extends InputControl> InputControlType<T> define(String name, NbtMapDecoder<T> decoder, NbtMapEncoder<T> encoder)
-