Uses of Interface
io.papermc.paper.registry.data.dialog.ActionButton
Packages that use ActionButton
Package
Description
Dialog types for the Paper API.
-
Uses of ActionButton in io.papermc.paper.registry.data.dialog
Methods in io.papermc.paper.registry.data.dialog that return ActionButtonModifier and TypeMethodDescriptionActionButton.Builder.build()
Builds the ActionButton instance with the configured values.static ActionButton
ActionButton.create
(Component label, @Nullable Component tooltip, int width, @Nullable DialogAction action) Creates a new action button with the specified label, tooltip, width, and action.Methods in io.papermc.paper.registry.data.dialog with parameters of type ActionButtonModifier and TypeMethodDescriptionDialogInstancesProvider.confirmation
(ActionButton yesButton, ActionButton noButton) DialogInstancesProvider.notice
(ActionButton action) DialogInstancesProvider.serverLinks
(@Nullable ActionButton exitAction, int columns, int buttonWidth) Method parameters in io.papermc.paper.registry.data.dialog with type arguments of type ActionButtonModifier and TypeMethodDescriptionDialogInstancesProvider.multiAction
(List<ActionButton> actions) -
Uses of ActionButton in io.papermc.paper.registry.data.dialog.type
Methods in io.papermc.paper.registry.data.dialog.type that return ActionButtonModifier and TypeMethodDescriptionNoticeType.action()
Returns the action button associated with this notice type.DialogListType.exitAction()
Returns the action button to exit the dialog, or null if there is no exit action.MultiActionType.exitAction()
Returns the action button to exit the dialog, or null if there is no exit action.ServerLinksType.exitAction()
Returns the action button to exit the dialog, or null if there is no exit action.ConfirmationType.noButton()
Gets the button for denying the action.ConfirmationType.yesButton()
Gets the button for confirming the action.Methods in io.papermc.paper.registry.data.dialog.type that return types with arguments of type ActionButtonModifier and TypeMethodDescriptionMultiActionType.actions()
Returns the list of action buttons available in this multi-action dialog.Methods in io.papermc.paper.registry.data.dialog.type with parameters of type ActionButtonModifier and TypeMethodDescriptionstatic ConfirmationType
DialogType.confirmation
(ActionButton yesButton, ActionButton noButton) Creates a confirmation dialog with the specified yes and no buttons.static DialogListType
DialogType.dialogList
(RegistrySet<Dialog> dialogs, @Nullable ActionButton exitAction, int columns, int buttonWidth) Creates a dialog list dialog with the specified dialogs, exit action, columns, and button width.DialogListType.Builder.exitAction
(@Nullable ActionButton exitAction) Sets the action button to exit the dialog, or null if there is no exit action.MultiActionType.Builder.exitAction
(@Nullable ActionButton exitAction) Sets the action button to exit the dialog, or null if there is no exit action.static MultiActionType
DialogType.multiAction
(List<ActionButton> actions, @Nullable ActionButton exitAction, int columns) Creates a multi-action dialog with the specified actions, exit action, and number of columns.static NoticeType
DialogType.notice
(ActionButton action) Creates a notice dialog with the specified action button.static ServerLinksType
DialogType.serverLinks
(@Nullable ActionButton exitAction, int columns, int buttonWidth) Creates a server links dialog with the specified exit action, number of columns, and button width.Method parameters in io.papermc.paper.registry.data.dialog.type with type arguments of type ActionButtonModifier and TypeMethodDescriptionstatic MultiActionType.Builder
DialogType.multiAction
(List<ActionButton> actions) Creates a multi-action dialog builder with the specified actions.static MultiActionType
DialogType.multiAction
(List<ActionButton> actions, @Nullable ActionButton exitAction, int columns) Creates a multi-action dialog with the specified actions, exit action, and number of columns.