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 ehdintermediary net/minecraft/class_4384named 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
FieldsModifier and TypeFieldDescriptionprivate intprivate static final intprivate intprivate static final Loggerprivate final RealmsMainScreenprivate final Text[]private final Screenprivate intprivate @Nullable RealmsServerprivate final longFields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
ADVENTURE_MAPS_IN_1_9_URL, field_33036, field_33037, field_33038, field_33039, field_33040, field_33041, field_33042, field_33043, field_33055, field_33056, field_33057, field_33060, field_33061, field_33062, field_33063, field_33064, field_39676, MAX_FILE_SIZE, RED, WHITEFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionRealmsBrokenWorldScreen(Screen parent, RealmsMainScreen mainScreen, long serverId, boolean minigame) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidprivate voiddownloadWorld(int slotId) private voiddrawSlotFrame(MatrixStack matrices, int x, int y, int mouseX, int mouseY, boolean activeSlot, String slotName, int slotId, long templateId, @Nullable String templateImage, boolean empty) private voidfetchServerData(long worldId) private intgetFramePositionX(int i) voidinit()Called when a screen should be initialized.private booleanbooleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.voidplay()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) voidtick()Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, rowMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, method_48202, method_48262, method_48263, method_48265, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_48196, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, hoveredElement, isFocused, keyReleased, method_48205, method_48218, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLehd;a:Lorg/slf4j/Logger;intermediary field_19763Lnet/minecraft/class_4384;field_19763:Lorg/slf4j/Logger;named LOGGERLnet/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 bLehd;b:Iintermediary field_32120Lnet/minecraft/class_4384;field_32120:Inamed field_32120Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;field_32120:I
-
parent
- Mappings:
Namespace Name Mixin selector official cLehd;c:Leqa;intermediary field_19764Lnet/minecraft/class_4384;field_19764:Lnet/minecraft/class_437;named parentLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
mainScreen
- Mappings:
Namespace Name Mixin selector official ILehd;I:Lefb;intermediary field_19765Lnet/minecraft/class_4384;field_19765:Lnet/minecraft/class_4325;named mainScreenLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;mainScreen:Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;
-
serverData
- Mappings:
Namespace Name Mixin selector official JLehd;J:Lefw;intermediary field_20492Lnet/minecraft/class_4384;field_20492:Lnet/minecraft/class_4877;named serverDataLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
-
serverId
private final long serverId- Mappings:
Namespace Name Mixin selector official KLehd;K:Jintermediary field_19767Lnet/minecraft/class_4384;field_19767:Jnamed serverIdLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;serverId:J
-
message
- Mappings:
Namespace Name Mixin selector official LLehd;L:[Lsu;intermediary field_19769Lnet/minecraft/class_4384;field_19769:[Lnet/minecraft/class_2561;named messageLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;message:[Lnet/minecraft/text/Text;
-
left_x
private int left_x- Mappings:
Namespace Name Mixin selector official MLehd;M:Iintermediary field_19770Lnet/minecraft/class_4384;field_19770:Inamed left_xLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;left_x:I
-
right_x
private int right_x- Mappings:
Namespace Name Mixin selector official NLehd;N:Iintermediary field_19771Lnet/minecraft/class_4384;field_19771:Inamed right_xLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;right_x:I
-
slotsThatHasBeenDownloaded
- Mappings:
Namespace Name Mixin selector official OLehd;O:Ljava/util/List;intermediary field_19778Lnet/minecraft/class_4384;field_19778:Ljava/util/List;named slotsThatHasBeenDownloadedLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;slotsThatHasBeenDownloaded:Ljava/util/List;
-
animTick
private int animTick- Mappings:
Namespace Name Mixin selector official PLehd;P:Iintermediary field_19779Lnet/minecraft/class_4384;field_19779:Inamed animTickLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;animTick:I
-
-
Constructor Details
-
RealmsBrokenWorldScreen
public RealmsBrokenWorldScreen(Screen parent, RealmsMainScreen mainScreen, long serverId, boolean minigame) - Mappings:
Namespace Name Mixin selector official <init>Lehd;<init>(Leqa;Lefb;JZ)Vintermediary <init>Lnet/minecraft/class_4384;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_4325;JZ)Vnamed <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:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector official ah_Leqa;ah_()Lsu;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
addButtons
private void addButtons()- Mappings:
Namespace Name Mixin selector official zLehd;z()Vintermediary method_21178Lnet/minecraft/class_4384;method_21178()Vnamed addButtonsLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;addButtons()V
-
tick
public void tick() -
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLemj;a(Leer;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/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 aLehd;a(I)Iintermediary method_21179Lnet/minecraft/class_4384;method_21179(I)Inamed getFramePositionXLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;getFramePositionX(I)I
-
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 inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- 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:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLemq;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
backButtonClicked
private void backButtonClicked()- Mappings:
Namespace Name Mixin selector official ALehd;A()Vintermediary method_21194Lnet/minecraft/class_4384;method_21194()Vnamed backButtonClickedLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;backButtonClicked()V
-
fetchServerData
private void fetchServerData(long worldId) - Mappings:
Namespace Name Mixin selector official aLehd;a(J)Vintermediary method_21181Lnet/minecraft/class_4384;method_21181(J)Vnamed fetchServerDataLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;fetchServerData(J)V
-
play
public void play()- Mappings:
Namespace Name Mixin selector official cLehd;c()Vintermediary method_25123Lnet/minecraft/class_4384;method_25123()Vnamed playLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;play()V
-
downloadWorld
private void downloadWorld(int slotId) - Mappings:
Namespace Name Mixin selector official bLehd;b(I)Vintermediary method_21187Lnet/minecraft/class_4384;method_21187(I)Vnamed downloadWorldLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;downloadWorld(I)V
-
isMinigame
private boolean isMinigame()- Mappings:
Namespace Name Mixin selector official BLehd;B()Zintermediary method_21196Lnet/minecraft/class_4384;method_21196()Znamed isMinigameLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;isMinigame()Z
-
drawSlotFrame
private void drawSlotFrame(MatrixStack matrices, 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 aLehd;a(Leer;IIIIZLjava/lang/String;IJLjava/lang/String;Z)Vintermediary method_21180Lnet/minecraft/class_4384;method_21180(Lnet/minecraft/class_4587;IIIIZLjava/lang/String;IJLjava/lang/String;Z)Vnamed drawSlotFrameLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;drawSlotFrame(Lnet/minecraft/client/util/math/MatrixStack;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V
-