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 named net/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreenintermediary net/minecraft/class_4384official fxc
-
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 Text[]private final Screenprivate @Nullable RealmsServerprivate final longprivate static final IdentifierFields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
BLUE, DARK_GRAY, field_33055, field_33057, field_39676, field_54866, GRAY, GREEN, MAX_FILE_SIZE, PURPLE, REALMS_LOGO_TEXTURE, REALMS_LOGO_TEXTURE_HEIGHT, REALMS_LOGO_TEXTURE_WIDTH, REALMS_LOGO_WIDGET_HEIGHT, REALMS_LOGO_WIDGET_WIDTHFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidclose()private 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 booleanvoidplay()voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidtick()Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, createRealmsLogoIconWidget, narrateLabels, rowMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, deferSubtitles, findSelectedElementData, getMusic, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods 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
getBorder, isClickable, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
SLOT_FRAME_TEXTURE
- Mappings:
Namespace Name Mixin selector named SLOT_FRAME_TEXTURELnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;SLOT_FRAME_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45239Lnet/minecraft/class_4384;field_45239:Lnet/minecraft/class_2960;official aLfxc;a:Lamj;
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;LOGGER:Lorg/slf4j/Logger;intermediary field_19763Lnet/minecraft/class_4384;field_19763:Lorg/slf4j/Logger;official bLfxc;b:Lorg/slf4j/Logger;
-
field_32120
private static final int field_32120- See Also:
- Mappings:
Namespace Name Mixin selector named field_32120Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;field_32120:Iintermediary field_32120Lnet/minecraft/class_4384;field_32120:Iofficial cLfxc;c:I
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_19764Lnet/minecraft/class_4384;field_19764:Lnet/minecraft/class_437;official FLfxc;F:Lgmj;
-
serverData
- Mappings:
Namespace Name Mixin selector named serverDataLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;intermediary field_20492Lnet/minecraft/class_4384;field_20492:Lnet/minecraft/class_4877;official GLfxc;G:Lfvt;
-
serverId
private final long serverId- Mappings:
Namespace Name Mixin selector named serverIdLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;serverId:Jintermediary field_19767Lnet/minecraft/class_4384;field_19767:Jofficial HLfxc;H:J
-
message
- Mappings:
Namespace Name Mixin selector named messageLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;message:[Lnet/minecraft/text/Text;intermediary field_19769Lnet/minecraft/class_4384;field_19769:[Lnet/minecraft/class_2561;official ILfxc;I:[Lxx;
-
left_x
private int left_x- Mappings:
Namespace Name Mixin selector named left_xLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;left_x:Iintermediary field_19770Lnet/minecraft/class_4384;field_19770:Iofficial JLfxc;J:I
-
slotsThatHasBeenDownloaded
- Mappings:
Namespace Name Mixin selector named slotsThatHasBeenDownloadedLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;slotsThatHasBeenDownloaded:Ljava/util/List;intermediary field_19778Lnet/minecraft/class_4384;field_19778:Ljava/util/List;official KLfxc;K:Ljava/util/List;
-
animTick
private int animTick- Mappings:
Namespace Name Mixin selector named animTickLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;animTick:Iintermediary field_19779Lnet/minecraft/class_4384;field_19779:Iofficial LLfxc;L:I
-
-
Constructor Details
-
RealmsBrokenWorldScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;JZ)Vintermediary <init>Lnet/minecraft/class_4384;<init>(Lnet/minecraft/class_437;JZ)Vofficial <init>Lfxc;<init>(Lgmj;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 named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;official iLgmj;i()Lxx;
-
addButtons
private void addButtons()- Mappings:
Namespace Name Mixin selector named addButtonsLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;addButtons()Vintermediary method_21178Lnet/minecraft/class_4384;method_21178()Vofficial oLfxc;o()V
-
tick
public void tick() -
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLget;a(Lgdd;IIF)V
-
getFramePositionX
private int getFramePositionX(int i) - Mappings:
Namespace Name Mixin selector named getFramePositionXLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;getFramePositionX(I)Iintermediary method_21179Lnet/minecraft/class_4384;method_21179(I)Iofficial bLfxc;b(I)I
-
createErrorScreen
- Mappings:
Namespace Name Mixin selector named createErrorScreenLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;createErrorScreen(Lnet/minecraft/client/realms/exception/RealmsServiceException;)Lnet/minecraft/client/gui/screen/Screen;intermediary method_72203Lnet/minecraft/class_4384;method_72203(Lnet/minecraft/class_4355;)Lnet/minecraft/class_437;official aLfxc;a(Lfwt;)Lgmj;
-
fetchServerData
private void fetchServerData(long worldId) - Mappings:
Namespace Name Mixin selector named fetchServerDataLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;fetchServerData(J)Vintermediary method_21181Lnet/minecraft/class_4384;method_21181(J)Vofficial aLfxc;a(J)V
-
play
public void play()- Mappings:
Namespace Name Mixin selector named playLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;play()Vintermediary method_25123Lnet/minecraft/class_4384;method_25123()Vofficial bLfxc;b()V
-
downloadWorld
private void downloadWorld(int slotId) - Mappings:
Namespace Name Mixin selector named downloadWorldLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;downloadWorld(I)Vintermediary method_21187Lnet/minecraft/class_4384;method_21187(I)Vofficial cLfxc;c(I)V
-
close
public void close() -
isMinigame
private boolean isMinigame()- Mappings:
Namespace Name Mixin selector named isMinigameLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;isMinigame()Zintermediary method_21196Lnet/minecraft/class_4384;method_21196()Zofficial ILfxc;I()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 named drawSlotFrameLnet/minecraft/client/realms/gui/screen/RealmsBrokenWorldScreen;drawSlotFrame(Lnet/minecraft/client/gui/DrawContext;IIIIZLjava/lang/String;IJLjava/lang/String;Z)Vintermediary method_21180Lnet/minecraft/class_4384;method_21180(Lnet/minecraft/class_332;IIIIZLjava/lang/String;IJLjava/lang/String;Z)Vofficial aLfxc;a(Lgdd;IIIIZLjava/lang/String;IJLjava/lang/String;Z)V
-