Class DialogInput<T>
java.lang.Object
org.geysermc.geyser.session.dialog.input.DialogInput<T>
- Direct Known Subclasses:
BooleanInput,NumberRangeInput,SingleOptionInput,TextInput
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDialogInput(GeyserSession session, org.cloudburstmc.nbt.NbtMap map) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(org.geysermc.cumulus.form.CustomForm.Builder builder) abstract voidaddComponent(org.geysermc.cumulus.form.CustomForm.Builder builder, Optional<T> restored) abstract voidabstract StringasSubstitution(T value) abstract Tabstract Tread(org.geysermc.cumulus.response.CustomFormResponse response) static DialogInput<?>read(GeyserSession session, org.cloudburstmc.nbt.NbtMap tag)
-
Field Details
-
key
-
label
-
-
Constructor Details
-
DialogInput
-
-
Method Details
-
addComponent
public void addComponent(org.geysermc.cumulus.form.CustomForm.Builder builder) -
addComponent
-
read
public abstract T read(org.geysermc.cumulus.response.CustomFormResponse response) throws DialogInputParseException - Throws:
DialogInputParseException
-
asSubstitution
-
addToMap
-
defaultValue
-
read
-