Uses of Record Class
net.minecraft.server.dialog.ActionButton
Packages that use ActionButton
-
Uses of ActionButton in net.minecraft.client.gui.screens.dialog
Methods in net.minecraft.client.gui.screens.dialog that return ActionButtonModifier and TypeMethodDescriptionprivate static ActionButton
DialogListDialogScreen.createDialogClickAction
(DialogListDialog pDialog, Holder<Dialog> pDialogToOpen) private static ActionButton
ServerLinksDialogScreen.createDialogClickAction
(ServerLinksDialog pDialog, ServerLinks.Entry pEntry) Methods in net.minecraft.client.gui.screens.dialog that return types with arguments of type ActionButtonModifier and TypeMethodDescriptionprotected abstract Stream
<ActionButton> ButtonListDialogScreen.createListActions
(T pDialog, DialogConnectionAccess pConnectionAccess) protected Stream
<ActionButton> DialogListDialogScreen.createListActions
(DialogListDialog pDialog, DialogConnectionAccess pConnectionAccess) protected Stream
<ActionButton> MultiButtonDialogScreen.createListActions
(MultiActionDialog pDialog, DialogConnectionAccess pConnectionAccess) protected Stream
<ActionButton> ServerLinksDialogScreen.createListActions
(ServerLinksDialog pDialog, DialogConnectionAccess pConnectionAccess) Methods in net.minecraft.client.gui.screens.dialog with parameters of type ActionButton -
Uses of ActionButton in net.minecraft.server.dialog
Fields in net.minecraft.server.dialog declared as ActionButtonModifier and TypeFieldDescriptionprivate final ActionButton
NoticeDialog.action
The field for theaction
record component.static final ActionButton
NoticeDialog.DEFAULT_ACTION
private static final ActionButton
Dialogs.DEFAULT_BACK_BUTTON
private final ActionButton
ConfirmationDialog.noButton
The field for thenoButton
record component.private final ActionButton
ConfirmationDialog.yesButton
The field for theyesButton
record component.Fields in net.minecraft.server.dialog with type parameters of type ActionButtonModifier and TypeFieldDescriptionprivate final List
<ActionButton> MultiActionDialog.actions
The field for theactions
record component.static final com.mojang.serialization.Codec
<ActionButton> ActionButton.CODEC
private final Optional
<ActionButton> DialogListDialog.exitAction
The field for theexitAction
record component.private final Optional
<ActionButton> MultiActionDialog.exitAction
The field for theexitAction
record component.private final Optional
<ActionButton> ServerLinksDialog.exitAction
The field for theexitAction
record component.Methods in net.minecraft.server.dialog that return ActionButtonModifier and TypeMethodDescriptionNoticeDialog.action()
Returns the value of theaction
record component.ConfirmationDialog.noButton()
Returns the value of thenoButton
record component.ConfirmationDialog.yesButton()
Returns the value of theyesButton
record component.Methods in net.minecraft.server.dialog that return types with arguments of type ActionButtonModifier and TypeMethodDescriptionMultiActionDialog.actions()
Returns the value of theactions
record component.ButtonListDialog.exitAction()
DialogListDialog.exitAction()
Returns the value of theexitAction
record component.MultiActionDialog.exitAction()
Returns the value of theexitAction
record component.ServerLinksDialog.exitAction()
Returns the value of theexitAction
record component.ConfirmationDialog.mainActions()
NoticeDialog.mainActions()
SimpleDialog.mainActions()
Constructors in net.minecraft.server.dialog with parameters of type ActionButtonModifierConstructorDescriptionConfirmationDialog
(CommonDialogData common, ActionButton yesButton, ActionButton noButton) Creates an instance of aConfirmationDialog
record class.NoticeDialog
(CommonDialogData common, ActionButton action) Creates an instance of aNoticeDialog
record class.Constructor parameters in net.minecraft.server.dialog with type arguments of type ActionButtonModifierConstructorDescriptionDialogListDialog
(CommonDialogData common, HolderSet<Dialog> dialogs, Optional<ActionButton> exitAction, int columns, int buttonWidth) Creates an instance of aDialogListDialog
record class.MultiActionDialog
(CommonDialogData common, List<ActionButton> actions, Optional<ActionButton> exitAction, int columns) Creates an instance of aMultiActionDialog
record class.MultiActionDialog
(CommonDialogData common, List<ActionButton> actions, Optional<ActionButton> exitAction, int columns) Creates an instance of aMultiActionDialog
record class.ServerLinksDialog
(CommonDialogData common, Optional<ActionButton> exitAction, int columns, int buttonWidth) Creates an instance of aServerLinksDialog
record class.