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 ActionButtonDialogListDialogScreen.createDialogClickAction(DialogListDialog dialog, Holder<Dialog> dialogToOpen) private static ActionButtonServerLinksDialogScreen.createDialogClickAction(ServerLinksDialog dialog, ServerLinks.Entry entry) Methods in net.minecraft.client.gui.screens.dialog that return types with arguments of type ActionButtonModifier and TypeMethodDescriptionprotected abstract Stream<ActionButton> ButtonListDialogScreen.createListActions(T dialog, DialogConnectionAccess connectionAccess) protected Stream<ActionButton> DialogListDialogScreen.createListActions(DialogListDialog p_425863_, DialogConnectionAccess p_427504_) protected Stream<ActionButton> MultiButtonDialogScreen.createListActions(MultiActionDialog p_425688_, DialogConnectionAccess p_427456_) protected Stream<ActionButton> ServerLinksDialogScreen.createListActions(ServerLinksDialog p_427267_, DialogConnectionAccess p_427256_) 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 ActionButtonNoticeDialog.actionThe field for theactionrecord component.static final ActionButtonNoticeDialog.DEFAULT_ACTIONprivate static final ActionButtonDialogs.DEFAULT_BACK_BUTTONprivate final ActionButtonConfirmationDialog.noButtonThe field for thenoButtonrecord component.private final ActionButtonConfirmationDialog.yesButtonThe field for theyesButtonrecord component.Fields in net.minecraft.server.dialog with type parameters of type ActionButtonModifier and TypeFieldDescriptionprivate final List<ActionButton> MultiActionDialog.actionsThe field for theactionsrecord component.static final com.mojang.serialization.Codec<ActionButton> ActionButton.CODECprivate final Optional<ActionButton> DialogListDialog.exitActionThe field for theexitActionrecord component.private final Optional<ActionButton> MultiActionDialog.exitActionThe field for theexitActionrecord component.private final Optional<ActionButton> ServerLinksDialog.exitActionThe field for theexitActionrecord component.Methods in net.minecraft.server.dialog that return ActionButtonModifier and TypeMethodDescriptionNoticeDialog.action()Returns the value of theactionrecord component.ConfirmationDialog.noButton()Returns the value of thenoButtonrecord component.ConfirmationDialog.yesButton()Returns the value of theyesButtonrecord component.Methods in net.minecraft.server.dialog that return types with arguments of type ActionButtonModifier and TypeMethodDescriptionMultiActionDialog.actions()Returns the value of theactionsrecord component.ButtonListDialog.exitAction()DialogListDialog.exitAction()Returns the value of theexitActionrecord component.MultiActionDialog.exitAction()Returns the value of theexitActionrecord component.ServerLinksDialog.exitAction()Returns the value of theexitActionrecord 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 aConfirmationDialogrecord class.NoticeDialog(CommonDialogData common, ActionButton action) Creates an instance of aNoticeDialogrecord 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 aDialogListDialogrecord class.MultiActionDialog(CommonDialogData common, List<ActionButton> actions, Optional<ActionButton> exitAction, int columns) Creates an instance of aMultiActionDialogrecord class.MultiActionDialog(CommonDialogData common, List<ActionButton> actions, Optional<ActionButton> exitAction, int columns) Creates an instance of aMultiActionDialogrecord class.ServerLinksDialog(CommonDialogData common, Optional<ActionButton> exitAction, int columns, int buttonWidth) Creates an instance of aServerLinksDialogrecord class.