Interface SingleOptionDialogInput
- All Superinterfaces:
DialogInput
A single option dialog input.
Created via DialogInput.singleOption(String, int, List, Component, boolean)
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
A builder for creating aSingleOptionDialogInput
.static interface
Represents a single option entry in a single option dialog input. -
Method Summary
Methods inherited from interface io.papermc.paper.registry.data.dialog.input.DialogInput
key
-
Method Details
-
width
The width of the input.- Returns:
- the width
-
entries
The list of options for the input.- Returns:
- the list of option entries
-
label
The label for the input.- Returns:
- the label component
-
labelVisible
Whether the label should be visible.- Returns:
- true if the label is visible, false otherwise
-