Class RealmsResetWorldScreen
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.RealmsResetWorldScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
,TickableElement
@Environment(CLIENT) public class RealmsResetWorldScreen extends RealmsScreen
- Mappings:
Namespace Name official dok
intermediary net/minecraft/class_4410
named net/minecraft/client/realms/gui/screen/RealmsResetWorldScreen
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
RealmsResetWorldScreen.FrameButton
-
Field Summary
Fields Modifier and Type Field Description private static Identifier
ADVENTURE_TEXTURE
private Text
buttonTitle
private static Identifier
EXPERIENCE_TEXTURE
private WorldTemplatePaginatedList
field_20495
private WorldTemplatePaginatedList
field_20496
private WorldTemplatePaginatedList
field_20497
private WorldTemplatePaginatedList
field_20498
private Runnable
field_22711
private Runnable
field_22712
private static Identifier
INSPIRATION_TEXTURE
private static Logger
LOGGER
private static Identifier
NEW_WORLD_TEXTURE
private Screen
parent
private Text
resetTitle
private RealmsServer
serverData
int
slot
private static Identifier
SLOT_FRAME_TEXTURE
private Text
subtitle
private int
subtitleColor
private RealmsLabel
subtitleLabel
private static Identifier
SURVIVAL_SPAWN_TEXTURE
private Text
title
private RealmsLabel
titleLabel
private static Identifier
UPLOAD_TEXTURE
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description RealmsResetWorldScreen(Screen parent, RealmsServer realmsServer, Runnable runnable, Runnable runnable2)
RealmsResetWorldScreen(Screen parent, RealmsServer realmsServer, Text title, Text subtitle, int subtitleColor, Text buttonTitle, Runnable runnable, Runnable runnable2)
-
Method Summary
Modifier and Type Method Description private void
drawFrame(MatrixStack matrices, int x, int y, Text text, Identifier identifier, boolean bool, boolean bool2)
private int
frame(int i)
void
init()
Called when a screen should be initialized.boolean
keyPressed(int keyCode, int scanCode, int modifiers)
Callback for when a key down event has been captured.private void
method_32488(WorldTemplate worldTemplate)
private void
method_32489(ResetWorldInfo resetWorldInfo)
private void
method_32490(LongRunningTask longRunningTask)
private void
method_32493(Runnable runnable)
void
removed()
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
void
setResetTitle(Text resetTitle)
void
setSlot(int slot)
void
switchSlot(Runnable callback)
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, row, tick
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, onClose, 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
-
LOGGER
- Mappings:
Namespace Name Mixin selector official b
Ldok;b:Lorg/apache/logging/log4j/Logger;
intermediary field_19999
Lnet/minecraft/class_4410;field_19999:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
SLOT_FRAME_TEXTURE
- Mappings:
Namespace Name Mixin selector official w
Ldok;w:Lwb;
intermediary field_22713
Lnet/minecraft/class_4410;field_22713:Lnet/minecraft/class_2960;
named SLOT_FRAME_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;SLOT_FRAME_TEXTURE:Lnet/minecraft/util/Identifier;
-
UPLOAD_TEXTURE
- Mappings:
Namespace Name Mixin selector official x
Ldok;x:Lwb;
intermediary field_22714
Lnet/minecraft/class_4410;field_22714:Lnet/minecraft/class_2960;
named UPLOAD_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;UPLOAD_TEXTURE:Lnet/minecraft/util/Identifier;
-
ADVENTURE_TEXTURE
- Mappings:
Namespace Name Mixin selector official y
Ldok;y:Lwb;
intermediary field_22715
Lnet/minecraft/class_4410;field_22715:Lnet/minecraft/class_2960;
named ADVENTURE_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;ADVENTURE_TEXTURE:Lnet/minecraft/util/Identifier;
-
SURVIVAL_SPAWN_TEXTURE
- Mappings:
Namespace Name Mixin selector official z
Ldok;z:Lwb;
intermediary field_22716
Lnet/minecraft/class_4410;field_22716:Lnet/minecraft/class_2960;
named SURVIVAL_SPAWN_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;SURVIVAL_SPAWN_TEXTURE:Lnet/minecraft/util/Identifier;
-
NEW_WORLD_TEXTURE
- Mappings:
Namespace Name Mixin selector official A
Ldok;A:Lwb;
intermediary field_22708
Lnet/minecraft/class_4410;field_22708:Lnet/minecraft/class_2960;
named NEW_WORLD_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;NEW_WORLD_TEXTURE:Lnet/minecraft/util/Identifier;
-
EXPERIENCE_TEXTURE
- Mappings:
Namespace Name Mixin selector official B
Ldok;B:Lwb;
intermediary field_22709
Lnet/minecraft/class_4410;field_22709:Lnet/minecraft/class_2960;
named EXPERIENCE_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;EXPERIENCE_TEXTURE:Lnet/minecraft/util/Identifier;
-
INSPIRATION_TEXTURE
- Mappings:
Namespace Name Mixin selector official C
Ldok;C:Lwb;
intermediary field_22710
Lnet/minecraft/class_4410;field_22710:Lnet/minecraft/class_2960;
named INSPIRATION_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;INSPIRATION_TEXTURE:Lnet/minecraft/util/Identifier;
-
parent
- Mappings:
Namespace Name Mixin selector official c
Ldok;c:Ldve;
intermediary field_20000
Lnet/minecraft/class_4410;field_20000:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
serverData
- Mappings:
Namespace Name Mixin selector official p
Ldok;p:Ldmv;
intermediary field_20001
Lnet/minecraft/class_4410;field_20001:Lnet/minecraft/class_4877;
named serverData
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
-
titleLabel
- Mappings:
Namespace Name Mixin selector official q
Ldok;q:Lewf;
intermediary field_20003
Lnet/minecraft/class_4410;field_20003:Lnet/minecraft/class_4903;
named titleLabel
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;titleLabel:Lnet/minecraft/client/realms/RealmsLabel;
-
subtitleLabel
- Mappings:
Namespace Name Mixin selector official r
Ldok;r:Lewf;
intermediary field_20004
Lnet/minecraft/class_4410;field_20004:Lnet/minecraft/class_4903;
named subtitleLabel
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;subtitleLabel:Lnet/minecraft/client/realms/RealmsLabel;
-
title
- Mappings:
Namespace Name Mixin selector official s
Ldok;s:Loi;
intermediary field_20005
Lnet/minecraft/class_4410;field_20005:Lnet/minecraft/class_2561;
named title
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;title:Lnet/minecraft/text/Text;
-
subtitle
- Mappings:
Namespace Name Mixin selector official t
Ldok;t:Loi;
intermediary field_20006
Lnet/minecraft/class_4410;field_20006:Lnet/minecraft/class_2561;
named subtitle
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;subtitle:Lnet/minecraft/text/Text;
-
buttonTitle
- Mappings:
Namespace Name Mixin selector official u
Ldok;u:Loi;
intermediary field_20007
Lnet/minecraft/class_4410;field_20007:Lnet/minecraft/class_2561;
named buttonTitle
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;buttonTitle:Lnet/minecraft/text/Text;
-
subtitleColor
private int subtitleColor- Mappings:
Namespace Name Mixin selector official v
Ldok;v:I
intermediary field_20008
Lnet/minecraft/class_4410;field_20008:I
named subtitleColor
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;subtitleColor:I
-
field_20495
- Mappings:
Namespace Name Mixin selector official D
Ldok;D:Ldnk;
intermediary field_20495
Lnet/minecraft/class_4410;field_20495:Lnet/minecraft/class_4891;
named field_20495
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;field_20495:Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;
-
field_20496
- Mappings:
Namespace Name Mixin selector official E
Ldok;E:Ldnk;
intermediary field_20496
Lnet/minecraft/class_4410;field_20496:Lnet/minecraft/class_4891;
named field_20496
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;field_20496:Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;
-
field_20497
- Mappings:
Namespace Name Mixin selector official F
Ldok;F:Ldnk;
intermediary field_20497
Lnet/minecraft/class_4410;field_20497:Lnet/minecraft/class_4891;
named field_20497
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;field_20497:Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;
-
field_20498
- Mappings:
Namespace Name Mixin selector official G
Ldok;G:Ldnk;
intermediary field_20498
Lnet/minecraft/class_4410;field_20498:Lnet/minecraft/class_4891;
named field_20498
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;field_20498:Lnet/minecraft/client/realms/dto/WorldTemplatePaginatedList;
-
slot
public int slot- Mappings:
Namespace Name Mixin selector official a
Ldok;a:I
intermediary field_19998
Lnet/minecraft/class_4410;field_19998:I
named slot
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;slot:I
-
resetTitle
- Mappings:
Namespace Name Mixin selector official H
Ldok;H:Loi;
intermediary field_20501
Lnet/minecraft/class_4410;field_20501:Lnet/minecraft/class_2561;
named resetTitle
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;resetTitle:Lnet/minecraft/text/Text;
-
field_22711
- Mappings:
Namespace Name Mixin selector official I
Ldok;I:Ljava/lang/Runnable;
intermediary field_22711
Lnet/minecraft/class_4410;field_22711:Ljava/lang/Runnable;
named field_22711
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;field_22711:Ljava/lang/Runnable;
-
field_22712
- Mappings:
Namespace Name Mixin selector official J
Ldok;J:Ljava/lang/Runnable;
intermediary field_22712
Lnet/minecraft/class_4410;field_22712:Ljava/lang/Runnable;
named field_22712
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;field_22712:Ljava/lang/Runnable;
-
-
Constructor Details
-
RealmsResetWorldScreen
public RealmsResetWorldScreen(Screen parent, RealmsServer realmsServer, Runnable runnable, Runnable runnable2)- Mappings:
Namespace Name Mixin selector official <init>
Ldok;<init>(Ldve;Ldmv;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
intermediary <init>
Lnet/minecraft/class_4410;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/dto/RealmsServer;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
-
RealmsResetWorldScreen
public RealmsResetWorldScreen(Screen parent, RealmsServer realmsServer, Text title, Text subtitle, int subtitleColor, Text buttonTitle, Runnable runnable, Runnable runnable2)- Mappings:
Namespace Name Mixin selector official <init>
Ldok;<init>(Ldve;Ldmv;Loi;Loi;ILoi;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
intermediary <init>
Lnet/minecraft/class_4410;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4877;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;ILnet/minecraft/class_2561;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/dto/RealmsServer;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;ILnet/minecraft/text/Text;Ljava/lang/Runnable;Ljava/lang/Runnable;)V
-
-
Method Details
-
setSlot
public void setSlot(int slot)- Mappings:
Namespace Name Mixin selector official a
Ldok;a(I)V
intermediary method_21379
Lnet/minecraft/class_4410;method_21379(I)V
named setSlot
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;setSlot(I)V
-
setResetTitle
- Mappings:
Namespace Name Mixin selector official a
Ldok;a(Loi;)V
intermediary method_21376
Lnet/minecraft/class_4410;method_21376(Lnet/minecraft/class_2561;)V
named setResetTitle
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;setResetTitle(Lnet/minecraft/text/Text;)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() -
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured. The key code is identified by the constants inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classScreen
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- the unique/platform-specific scan code of the keyboard inputmodifiers
- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
true
to indicate that the event handling is successful/valid- See Also:
Keyboard.onKey(long, int, int, int, int)
,GLFW.GLFW_KEY_Q
,GLFWKeyCallbackI.invoke(long, int, int, int, int)
- Mappings:
Namespace Name Mixin selector official a
Ldst;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
-
frame
private int frame(int i)- Mappings:
Namespace Name Mixin selector official b
Ldok;b(I)I
intermediary method_21384
Lnet/minecraft/class_4410;method_21384(I)I
named frame
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;frame(I)I
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Ldsq;a(Ldlr;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
-
drawFrame
private void drawFrame(MatrixStack matrices, int x, int y, Text text, Identifier identifier, boolean bool, boolean bool2)- Mappings:
Namespace Name Mixin selector official a
Ldok;a(Ldlr;IILoi;Lwb;ZZ)V
intermediary method_21370
Lnet/minecraft/class_4410;method_21370(Lnet/minecraft/class_4587;IILnet/minecraft/class_2561;Lnet/minecraft/class_2960;ZZ)V
named drawFrame
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;drawFrame(Lnet/minecraft/client/util/math/MatrixStack;IILnet/minecraft/text/Text;Lnet/minecraft/util/Identifier;ZZ)V
-
method_32490
- Mappings:
Namespace Name Mixin selector official a
Ldok;a(Ldpk;)V
intermediary method_32490
Lnet/minecraft/class_4410;method_32490(Lnet/minecraft/class_4358;)V
named method_32490
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;method_32490(Lnet/minecraft/client/realms/task/LongRunningTask;)V
-
switchSlot
- Mappings:
Namespace Name Mixin selector official a
Ldok;a(Ljava/lang/Runnable;)V
intermediary method_21377
Lnet/minecraft/class_4410;method_21377(Ljava/lang/Runnable;)V
named switchSlot
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;switchSlot(Ljava/lang/Runnable;)V
-
method_32488
- Mappings:
Namespace Name Mixin selector official a
Ldok;a(Ldnj;)V
intermediary method_32488
Lnet/minecraft/class_4410;method_32488(Lnet/minecraft/class_4890;)V
named method_32488
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;method_32488(Lnet/minecraft/client/realms/dto/WorldTemplate;)V
-
method_32489
- Mappings:
Namespace Name Mixin selector official a
Ldok;a(Ldpf;)V
intermediary method_32489
Lnet/minecraft/class_4410;method_32489(Lnet/minecraft/class_4413;)V
named method_32489
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;method_32489(Lnet/minecraft/client/realms/gui/screen/ResetWorldInfo;)V
-
method_32493
- Mappings:
Namespace Name Mixin selector official b
Ldok;b(Ljava/lang/Runnable;)V
intermediary method_32493
Lnet/minecraft/class_4410;method_32493(Ljava/lang/Runnable;)V
named method_32493
Lnet/minecraft/client/realms/gui/screen/RealmsResetWorldScreen;method_32493(Ljava/lang/Runnable;)V
-