Class RealmsResetNormalWorldScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.realms.gui.screen.RealmsScreen
net.minecraft.client.realms.gui.screen.RealmsResetNormalWorldScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
,TickableElement
@Environment(CLIENT) public class RealmsResetNormalWorldScreen extends RealmsScreen
- Mappings:
Namespace Name official don
intermediary net/minecraft/class_4409
named net/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen
-
Field Summary
Fields Modifier and Type Field Description private Consumer<ResetWorldInfo>
callback
private RealmsWorldGeneratorType
generatorType
private boolean
mapFeatures
private Text
parentTitle
private static Text
RESET_SEED_TEXT
private TextFieldWidget
seedEdit
private RealmsLabel
titleLabel
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description RealmsResetNormalWorldScreen(Consumer<ResetWorldInfo> callback, Text parentTitle)
-
Method Summary
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, row
Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
RESET_SEED_TEXT
- Mappings:
Namespace Name Mixin selector official a
Ldon;a:Loi;
intermediary field_26506
Lnet/minecraft/class_4409;field_26506:Lnet/minecraft/class_2561;
named RESET_SEED_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;RESET_SEED_TEXT:Lnet/minecraft/text/Text;
-
callback
- Mappings:
Namespace Name Mixin selector official b
Ldon;b:Ljava/util/function/Consumer;
intermediary field_27938
Lnet/minecraft/class_4409;field_27938:Ljava/util/function/Consumer;
named callback
Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;callback:Ljava/util/function/Consumer;
-
titleLabel
- Mappings:
Namespace Name Mixin selector official c
Ldon;c:Lewj;
intermediary field_19983
Lnet/minecraft/class_4409;field_19983:Lnet/minecraft/class_4903;
named titleLabel
Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;titleLabel:Lnet/minecraft/client/realms/RealmsLabel;
-
seedEdit
- Mappings:
Namespace Name Mixin selector official p
Ldon;p:Ldsg;
intermediary field_19984
Lnet/minecraft/class_4409;field_19984:Lnet/minecraft/class_342;
named seedEdit
Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;seedEdit:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
generatorType
- Mappings:
Namespace Name Mixin selector official q
Ldon;q:Ldpc;
intermediary field_27939
Lnet/minecraft/class_4409;field_27939:Lnet/minecraft/class_5672;
named generatorType
Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;generatorType:Lnet/minecraft/client/realms/gui/screen/RealmsWorldGeneratorType;
-
mapFeatures
private boolean mapFeatures- Mappings:
Namespace Name Mixin selector official r
Ldon;r:Z
intermediary field_27940
Lnet/minecraft/class_4409;field_27940:Z
named mapFeatures
Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;mapFeatures:Z
-
parentTitle
- Mappings:
Namespace Name Mixin selector official s
Ldon;s:Loi;
intermediary field_24206
Lnet/minecraft/class_4409;field_24206:Lnet/minecraft/class_2561;
named parentTitle
Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;parentTitle:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
RealmsResetNormalWorldScreen
- Mappings:
Namespace Name Mixin selector official <init>
Ldon;<init>(Ljava/util/function/Consumer;Loi;)V
intermediary <init>
Lnet/minecraft/class_4409;<init>(Ljava/util/function/Consumer;Lnet/minecraft/class_2561;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsResetNormalWorldScreen;<init>(Ljava/util/function/Consumer;Lnet/minecraft/text/Text;)V
-
-
Method Details
-
tick
public void tick()- Specified by:
tick
in interfaceTickableElement
- Overrides:
tick
in classRealmsScreen
- Mappings:
Namespace Name Mixin selector official d
Ldsr;d()V
intermediary method_25393
Lnet/minecraft/class_4893;method_25393()V
named tick
Lnet/minecraft/client/gui/screen/TickableElement;tick()V
-
init
public void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
removed
public void removed() -
onClose
public void onClose() -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Ldsu;a(Ldlv;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-