Class RealmsBrokenWorldScreen
java.lang.Object
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
,Navigable
,ParentElement
- Mappings:
Namespace Name official eod
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 static final int
private int
private static final Logger
private final Text[]
private final Screen
private @Nullable RealmsServer
private final long
private static final Identifier
Fields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
field_33036, field_33038, field_33039, field_33040, field_33041, field_33042, field_33055, field_33057, field_33061, field_33062, field_33063, field_39676, MAX_FILE_SIZE
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
close()
private void
downloadWorld
(int slotId) private void
drawSlotFrame
(DrawContext context, int x, int y, int mouseX, int mouseY, boolean activeSlot, String slotName, int slotId, long templateId, @Nullable String templateImage, boolean empty) private void
fetchServerData
(long worldId) private int
getFramePositionX
(int i) void
init()
Called when a screen should be initialized.private boolean
void
play()
void
render
(DrawContext context, int mouseX, int mouseY, float delta) void
tick()
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, row
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
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.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
SLOT_FRAME_TEXTURE
- Mappings:
Namespace Name Mixin selector official a
Leod;a:Laew;
intermediary field_45239
Lnet/minecraft/class_4384;field_45239:Lnet/minecraft/class_2960;
named SLOT_FRAME_TEXTURE
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;SLOT_FRAME_TEXTURE:Lnet/minecraft/util/Identifier;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official b
Leod;b:Lorg/slf4j/Logger;
intermediary field_19763
Lnet/minecraft/class_4384;field_19763:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;LOGGER:Lorg/slf4j/Logger;
-
field_32120
private static final int field_32120- See Also:
- Mappings:
Namespace Name Mixin selector official c
Leod;c: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 y
Leod;y:Leyk;
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;
-
serverData
- Mappings:
Namespace Name Mixin selector official z
Leod;z:Lemw;
intermediary field_20492
Lnet/minecraft/class_4384;field_20492:Lnet/minecraft/class_4877;
named serverData
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
-
serverId
private final long serverId- Mappings:
Namespace Name Mixin selector official A
Leod;A: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 B
Leod;B:[Ltl;
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 C
Leod;C:I
intermediary field_19770
Lnet/minecraft/class_4384;field_19770:I
named left_x
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;left_x:I
-
slotsThatHasBeenDownloaded
- Mappings:
Namespace Name Mixin selector official D
Leod;D: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 E
Leod;E: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
- Mappings:
Namespace Name Mixin selector official <init>
Leod;<init>(Leyk;JZ)V
intermediary <init>
Lnet/minecraft/class_4384;<init>(Lnet/minecraft/class_437;JZ)V
named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;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.
This should call
Screen.setInitialFocus(net.minecraft.client.gui.Element)
to set the element that is initially focused. -
getNarratedTitle
- Overrides:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector official g
Leyk;g()Ltl;
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 D
Leod;D()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
Lets;a(Lesf;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
getFramePositionX
private int getFramePositionX(int i) - Mappings:
Namespace Name Mixin selector official a
Leod;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
-
fetchServerData
private void fetchServerData(long worldId) - Mappings:
Namespace Name Mixin selector official a
Leod;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
-
play
public void play()- Mappings:
Namespace Name Mixin selector official e
Leod;e()V
intermediary method_25123
Lnet/minecraft/class_4384;method_25123()V
named play
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;play()V
-
downloadWorld
private void downloadWorld(int slotId) - Mappings:
Namespace Name Mixin selector official b
Leod;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
-
close
public void close() -
isMinigame
private boolean isMinigame()- Mappings:
Namespace Name Mixin selector official E
Leod;E()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(DrawContext context, int x, int y, int mouseX, int mouseY, boolean activeSlot, String slotName, int slotId, long templateId, @Nullable @Nullable String templateImage, boolean empty) - Mappings:
Namespace Name Mixin selector official a
Leod;a(Lesf;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V
intermediary method_21180
Lnet/minecraft/class_4384;method_21180(Lnet/minecraft/class_332;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V
named drawSlotFrame
Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;drawSlotFrame(Lnet/minecraft/client/gui/DrawContext;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V
-