Class RealmsBrokenWorldScreen
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.RealmsBrokenWorldScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
- Mappings:
Namespace Name official dsu
intermediary net/minecraft/class_4384
named net/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private RealmsServer
private static int
private int
private static Logger
private RealmsMainScreen
private Text[]
private Screen
private int
private long
Fields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
field_33036, field_33037, field_33038, field_33039, field_33040, field_33041, field_33042, field_33043, field_33044, field_33045, field_33046, field_33047, field_33048, field_33049, field_33050, field_33051, field_33052, field_33053, field_33054, field_33055, field_33056, field_33057, field_33058, field_33059, field_33060, field_33061, field_33062, field_33063, field_33064, field_33065
Fields inherited from class net.minecraft.client.gui.screen.Screen
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
ConstructorDescriptionRealmsBrokenWorldScreen(Screen parent, RealmsMainScreen mainScreen, long serverId, boolean bool)
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
private void
downloadWorld(int slotId)
private void
drawSlotFrame(MatrixStack matrices, int y, int xm, int ym, int int2, boolean bool, String string, int int3, long long2, @Nullable String string2, boolean bool2)
private void
fetchServerData(long worldId)
private int
getFramePositionX(int i)
void
init()
Called when a screen should be initialized.private boolean
boolean
keyPressed(int keyCode, int scanCode, int modifiers)
Callback for when a key down event has been captured.void
void
removed()
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
void
tick()
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
method_37107, narrateLabels, row
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearChildren, filesDragged, findSelectedElementData, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onClose, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, 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 a
Ldsu;a:Lorg/apache/logging/log4j/Logger;
intermediary field_19763
Lnet/minecraft/class_4384;field_19763:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
field_32120
private static final int field_32120- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official b
Ldsu;b:I
intermediary field_32120
Lnet/minecraft/class_4384;field_32120:I
named field_32120
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;field_32120:I
-
parent
- Mappings:
Namespace Name Mixin selector official c
Ldsu;c:Leap;
intermediary field_19764
Lnet/minecraft/class_4384;field_19764:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
mainScreen
- Mappings:
Namespace Name Mixin selector official R
Ldsu;R:Ldqu;
intermediary field_19765
Lnet/minecraft/class_4384;field_19765:Lnet/minecraft/class_4325;
named mainScreen
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;mainScreen:Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;
-
field_20492
- Mappings:
Namespace Name Mixin selector official S
Ldsu;S:Ldrp;
intermediary field_20492
Lnet/minecraft/class_4384;field_20492:Lnet/minecraft/class_4877;
named field_20492
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;field_20492:Lnet/minecraft/client/realms/dto/RealmsServer;
-
serverId
private final long serverId- Mappings:
Namespace Name Mixin selector official T
Ldsu;T:J
intermediary field_19767
Lnet/minecraft/class_4384;field_19767:J
named serverId
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;serverId:J
-
message
- Mappings:
Namespace Name Mixin selector official U
Ldsu;U:[Los;
intermediary field_19769
Lnet/minecraft/class_4384;field_19769:[Lnet/minecraft/class_2561;
named message
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;message:[Lnet/minecraft/text/Text;
-
left_x
private int left_x- Mappings:
Namespace Name Mixin selector official V
Ldsu;V:I
intermediary field_19770
Lnet/minecraft/class_4384;field_19770:I
named left_x
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;left_x:I
-
right_x
private int right_x- Mappings:
Namespace Name Mixin selector official W
Ldsu;W:I
intermediary field_19771
Lnet/minecraft/class_4384;field_19771:I
named right_x
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;right_x:I
-
slotsThatHasBeenDownloaded
- Mappings:
Namespace Name Mixin selector official X
Ldsu;X:Ljava/util/List;
intermediary field_19778
Lnet/minecraft/class_4384;field_19778:Ljava/util/List;
named slotsThatHasBeenDownloaded
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;slotsThatHasBeenDownloaded:Ljava/util/List;
-
animTick
private int animTick- Mappings:
Namespace Name Mixin selector official Y
Ldsu;Y:I
intermediary field_19779
Lnet/minecraft/class_4384;field_19779:I
named animTick
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;animTick:I
-
-
Constructor Details
-
RealmsBrokenWorldScreen
public RealmsBrokenWorldScreen(Screen parent, RealmsMainScreen mainScreen, long serverId, boolean bool)- Mappings:
Namespace Name Mixin selector official <init>
Ldsu;<init>(Leap;Ldqu;JZ)V
intermediary <init>
Lnet/minecraft/class_4384;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4325;JZ)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;JZ)V
-
-
Method Details
-
init
public void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
getNarratedTitle
- Overrides:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector official af_
Leap;af_()Los;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
named getNarratedTitle
Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
addButtons
private void addButtons()- Mappings:
Namespace Name Mixin selector official h
Ldsu;h()V
intermediary method_21178
Lnet/minecraft/class_4384;method_21178()V
named addButtons
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;addButtons()V
-
tick
public void tick() -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Ldxu;a(Ldqk;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
-
getFramePositionX
private int getFramePositionX(int i)- Mappings:
Namespace Name Mixin selector official a
Ldsu;a(I)I
intermediary method_21179
Lnet/minecraft/class_4384;method_21179(I)I
named getFramePositionX
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;getFramePositionX(I)I
-
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
Ldxx;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
-
backButtonClicked
private void backButtonClicked()- Mappings:
Namespace Name Mixin selector official w
Ldsu;w()V
intermediary method_21194
Lnet/minecraft/class_4384;method_21194()V
named backButtonClicked
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;backButtonClicked()V
-
fetchServerData
private void fetchServerData(long worldId)- Mappings:
Namespace Name Mixin selector official a
Ldsu;a(J)V
intermediary method_21181
Lnet/minecraft/class_4384;method_21181(J)V
named fetchServerData
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;fetchServerData(J)V
-
method_25123
public void method_25123()- Mappings:
Namespace Name Mixin selector official c
Ldsu;c()V
intermediary method_25123
Lnet/minecraft/class_4384;method_25123()V
named method_25123
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;method_25123()V
-
downloadWorld
private void downloadWorld(int slotId)- Mappings:
Namespace Name Mixin selector official b
Ldsu;b(I)V
intermediary method_21187
Lnet/minecraft/class_4384;method_21187(I)V
named downloadWorld
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;downloadWorld(I)V
-
isMinigame
private boolean isMinigame()- Mappings:
Namespace Name Mixin selector official x
Ldsu;x()Z
intermediary method_21196
Lnet/minecraft/class_4384;method_21196()Z
named isMinigame
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;isMinigame()Z
-
drawSlotFrame
private void drawSlotFrame(MatrixStack matrices, int y, int xm, int ym, int int2, boolean bool, String string, int int3, long long2, @Nullable @Nullable String string2, boolean bool2)- Mappings:
Namespace Name Mixin selector official a
Ldsu;a(Ldqk;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V
intermediary method_21180
Lnet/minecraft/class_4384;method_21180(Lnet/minecraft/class_4587;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V
named drawSlotFrame
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;drawSlotFrame(Lnet/minecraft/client/util/math/MatrixStack;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V
-