Uses of Record Class
net.minecraft.dialog.DialogButton
Packages that use DialogButton
Package
Description
-
Uses of DialogButton in net.minecraft.client.gui.screen.dialog
Methods in net.minecraft.client.gui.screen.dialog that return DialogButtonModifier and TypeMethodDescriptionprivate static DialogButtonDialogListDialogScreen.createButton(DialogListDialog dialog, RegistryEntry<Dialog> entry) private static DialogButtonServerLinksDialogScreen.createButton(ServerLinksDialog dialog, ServerLinks.Entry entry) protected DialogButtonColumnsDialogScreen.createFooterButton(T dialog) Methods in net.minecraft.client.gui.screen.dialog that return types with arguments of type DialogButtonModifier and TypeMethodDescriptionprotected abstract Stream<DialogButton> ColumnsDialogScreen.streamButtons(T dialog, DialogNetworkAccess networkAccess) protected Stream<DialogButton> DialogListDialogScreen.streamButtons(DialogListDialog dialogListDialog, DialogNetworkAccess dialogNetworkAccess) protected Stream<DialogButton> MultiActionDialogScreen.streamButtons(MultiActionDialog multiActionDialog, DialogNetworkAccess dialogNetworkAccess) protected Stream<DialogButton> ServerLinksDialogScreen.streamButtons(ServerLinksDialog serverLinksDialog, DialogNetworkAccess dialogNetworkAccess) Methods in net.minecraft.client.gui.screen.dialog with parameters of type DialogButtonModifier and TypeMethodDescriptionprotected ButtonWidget.BuilderDialogScreen.createButtonWidget(DialogButton dialogButton) -
Uses of DialogButton in net.minecraft.dialog
Fields in net.minecraft.dialog with type parameters of type DialogButtonModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DialogButton> DialogButton.CODECstatic final com.mojang.serialization.MapCodec<DialogButton> DialogButton.MAP_CODEC -
Uses of DialogButton in net.minecraft.dialog.type
Fields in net.minecraft.dialog.type declared as DialogButtonModifier and TypeFieldDescriptionprivate final DialogButtonNoticeDialog.buttonThe field for thebuttonrecord component.private final DialogButtonConfirmationDialog.noButtonThe field for thenoButtonrecord component.static final DialogButtonNoticeDialog.OK_BUTTONprivate final DialogButtonConfirmationDialog.yesButtonThe field for theyesButtonrecord component.Fields in net.minecraft.dialog.type with type parameters of type DialogButtonModifier and TypeFieldDescriptionprivate final List<DialogButton> MultiActionDialog.actionsThe field for theactionsrecord component.Methods in net.minecraft.dialog.type that return DialogButtonModifier and TypeMethodDescriptionNoticeDialog.button()Returns the value of thebuttonrecord component.ConfirmationDialog.noButton()Returns the value of thenoButtonrecord component.ConfirmationDialog.yesButton()Returns the value of theyesButtonrecord component.Methods in net.minecraft.dialog.type that return types with arguments of type DialogButtonModifier and TypeMethodDescriptionMultiActionDialog.actions()Returns the value of theactionsrecord component.ConfirmationDialog.getButtons()NoticeDialog.getButtons()SimpleDialog.getButtons()Constructors in net.minecraft.dialog.type with parameters of type DialogButtonModifierConstructorDescriptionConfirmationDialog(DialogCommonData dialogCommonData, DialogButton dialogButton, DialogButton dialogButton2) NoticeDialog(DialogCommonData dialogCommonData, DialogButton dialogButton) Constructor parameters in net.minecraft.dialog.type with type arguments of type DialogButtonModifierConstructorDescriptionMultiActionDialog(DialogCommonData dialogCommonData, List<DialogButton> list, Optional<ClickEvent> optional, int int2)