Package fr.fidorial.dialog
package fr.fidorial.dialog
Dialogs: modal windows shown to players, and the values they send back.
- Since:
- 0.1.0
-
ClassDescriptionA dialog with two buttons in its footer.A dialog to show a player: either a full definition, or a reference to one held by the
DialogRegistry.What happens when a dialog button is pressed.An action posting the dialog inputs back to the server.An action running a macro command built from the dialog inputs.An action opening another dialog.An action mirroring a text component click event.A button of a dialog.Fluent builder forDialogActionButton.What the client does with a dialog screen once a click or submit action has been performed.Fluent builder forDialogBase.A single element of a dialog body, that is the contents shown between the title and the inputs or the action buttons.An item, rendered as if it were sitting in an inventory slot.Fluent builder forDialogBody.Item.A multiline label.A complete dialog: its shared base plus the buttons specific to its type.A control the player fills in a dialog, whose value is sent back in theDialogResponse.A checkbox, mapping to the vanillaminecraft:booleancontrol.A slider between two numbers.Fluent builder forDialogInput.NumberRange.A drop-down of preset options.Fluent builder forDialogInput.SingleOption.One entry of aDialogInput.SingleOptioncontrol.A text field.Fluent builder forDialogInput.Text.Turns a text field into a text area.A dialog whose buttons lead to other dialogs.A pointer to a dialog held by the dialog registry.The dialogs registered on the server, sent to clients during configuration.The values a player submitted from a dialog, keyed by input key.A dialog laying out a grid of buttons.A dialog with a single button in its footer.A dialog listing the links the server advertised, laid out in columns.