Class DisconnectedRealmsScreen
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.DisconnectedRealmsScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class DisconnectedRealmsScreen extends RealmsScreen
- Mappings:
Namespace Name official ewbintermediary net/minecraft/class_4899named net/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen
-
Field Summary
Fields Modifier and Type Field Description private MultilineTextlinesprivate Screenparentprivate Textreasonprivate inttextHeightprivate TexttitleFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors Constructor Description DisconnectedRealmsScreen(Screen parent, Text title, Text reason) -
Method Summary
Modifier and Type Method Description voidinit()Called when a screen should be initialized.voidonClose()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, row, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, 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
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
title
- Mappings:
Namespace Name Mixin selector official aLewb;a:Loi;intermediary field_22807Lnet/minecraft/class_4899;field_22807:Lnet/minecraft/class_2561;named titleLnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;title:Lnet/minecraft/text/Text;
-
reason
- Mappings:
Namespace Name Mixin selector official bLewb;b:Loi;intermediary field_22808Lnet/minecraft/class_4899;field_22808:Lnet/minecraft/class_2561;named reasonLnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;reason:Lnet/minecraft/text/Text;
-
lines
- Mappings:
Namespace Name Mixin selector official cLewb;c:Ldsg;intermediary field_22809Lnet/minecraft/class_4899;field_22809:Lnet/minecraft/class_5489;named linesLnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;lines:Lnet/minecraft/client/font/MultilineText;
-
parent
- Mappings:
Namespace Name Mixin selector official pLewb;p:Ldve;intermediary field_22810Lnet/minecraft/class_4899;field_22810:Lnet/minecraft/class_437;named parentLnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
textHeight
private int textHeight- Mappings:
Namespace Name Mixin selector official qLewb;q:Iintermediary field_22811Lnet/minecraft/class_4899;field_22811:Inamed textHeightLnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;textHeight:I
-
-
Constructor Details
-
DisconnectedRealmsScreen
- Mappings:
Namespace Name Mixin selector official <init>Lewb;<init>(Ldve;Loi;Loi;)Vintermediary <init>Lnet/minecraft/class_4899;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)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.
-
onClose
public void onClose() -
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLdsq;a(Ldlr;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
-