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 - eky- intermediary - net/minecraft/class_4384- named - net/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.gui.screen.ScreenScreen.SelectedElementNarrationData
- 
Field SummaryFieldsModifier 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.RealmsScreenADVENTURE_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.Screenclient, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsConstructorDescriptionRealmsBrokenWorldScreen(Screen parent, RealmsMainScreen mainScreen, long serverId, boolean minigame) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidprivate voidprivate voiddownloadWorld(int slotId) private voiddrawSlotFrame(DrawContext context, 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(DrawContext context, int mouseX, int mouseY, float delta) voidtick()Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreenaddLabel, narrateLabels, rowMethods inherited from class net.minecraft.client.gui.screen.ScreenaddDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElementgetFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementmouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - official - a- Leky;a: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_32120private static final int field_32120- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - b- Leky;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- Leky;c:Leuq;- 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 - G- Leky;G:Leiu;- 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;
 
- 
serverData- Mappings:
- Namespace - Name - Mixin selector - official - H- Leky;H:Lejq;- 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;
 
- 
serverIdprivate final long serverId- Mappings:
- Namespace - Name - Mixin selector - official - I- Leky;I: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 - J- Leky;J:[Lsw;- 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_xprivate int left_x- Mappings:
- Namespace - Name - Mixin selector - official - K- Leky;K: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_xprivate int right_x- Mappings:
- Namespace - Name - Mixin selector - official - L- Leky;L: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 - M- Leky;M: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;
 
- 
animTickprivate int animTick- Mappings:
- Namespace - Name - Mixin selector - official - N- Leky;N:I- intermediary - field_19779- Lnet/minecraft/class_4384;field_19779:I- named - animTick- Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;animTick:I
 
 
- 
- 
Constructor Details- 
RealmsBrokenWorldScreenpublic RealmsBrokenWorldScreen(Screen parent, RealmsMainScreen mainScreen, long serverId, boolean minigame) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Leky;<init>(Leuq;Leiu;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- 
initpublic 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:
- getNarratedTitlein class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - au_- Leuq;au_()Lsw;- 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;
 
- 
addButtonsprivate void addButtons()- Mappings:
- Namespace - Name - Mixin selector - official - B- Leky;B()V- intermediary - method_21178- Lnet/minecraft/class_4384;method_21178()V- named - addButtons- Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;addButtons()V
 
- 
tickpublic void tick()
- 
render- Specified by:
- renderin interface- Drawable
- Overrides:
- renderin class- Screen
- Mappings:
- Namespace - Name - Mixin selector - official - a- Leqh;a(Leox;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
 
- 
getFramePositionXprivate int getFramePositionX(int i) - Mappings:
- Namespace - Name - Mixin selector - official - a- Leky;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
 
- 
keyPressedpublic 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 interface- Element
- Specified by:
- keyPressedin interface- ParentElement
- Overrides:
- keyPressedin class- Screen
- Parameters:
- keyCode- the named key code of the event as described in the- GLFWclass
- scanCode- the unique/platform-specific scan code of the keyboard input
- modifiers- 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 - a- Leqt;a(III)Z- intermediary - method_25404- Lnet/minecraft/class_364;method_25404(III)Z- named - keyPressed- Lnet/minecraft/client/gui/Element;keyPressed(III)Z
 
- 
backButtonClickedprivate void backButtonClicked()- Mappings:
- Namespace - Name - Mixin selector - official - C- Leky;C()V- intermediary - method_21194- Lnet/minecraft/class_4384;method_21194()V- named - backButtonClicked- Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;backButtonClicked()V
 
- 
fetchServerDataprivate void fetchServerData(long worldId) - Mappings:
- Namespace - Name - Mixin selector - official - a- Leky;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
 
- 
playpublic void play()- Mappings:
- Namespace - Name - Mixin selector - official - c- Leky;c()V- intermediary - method_25123- Lnet/minecraft/class_4384;method_25123()V- named - play- Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;play()V
 
- 
downloadWorldprivate void downloadWorld(int slotId) - Mappings:
- Namespace - Name - Mixin selector - official - b- Leky;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
 
- 
isMinigameprivate boolean isMinigame()- Mappings:
- Namespace - Name - Mixin selector - official - D- Leky;D()Z- intermediary - method_21196- Lnet/minecraft/class_4384;method_21196()Z- named - isMinigame- Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;isMinigame()Z
 
- 
drawSlotFrameprivate 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- Leky;a(Leox;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
 
 
-