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 ewb
intermediary net/minecraft/class_4899
named net/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen
-
Field Summary
Fields Modifier and Type Field Description private MultilineText
lines
private Screen
parent
private Text
reason
private int
textHeight
private Text
title
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, width
Fields 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 void
init()
Called when a screen should be initialized.void
onClose()
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, row, tick
Methods 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, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods 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, setZOffset
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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
title
- Mappings:
Namespace Name Mixin selector official a
Lewb;a:Loi;
intermediary field_22807
Lnet/minecraft/class_4899;field_22807:Lnet/minecraft/class_2561;
named title
Lnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;title:Lnet/minecraft/text/Text;
-
reason
- Mappings:
Namespace Name Mixin selector official b
Lewb;b:Loi;
intermediary field_22808
Lnet/minecraft/class_4899;field_22808:Lnet/minecraft/class_2561;
named reason
Lnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;reason:Lnet/minecraft/text/Text;
-
lines
- Mappings:
Namespace Name Mixin selector official c
Lewb;c:Ldsg;
intermediary field_22809
Lnet/minecraft/class_4899;field_22809:Lnet/minecraft/class_5489;
named lines
Lnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;lines:Lnet/minecraft/client/font/MultilineText;
-
parent
- Mappings:
Namespace Name Mixin selector official p
Lewb;p:Ldve;
intermediary field_22810
Lnet/minecraft/class_4899;field_22810:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
textHeight
private int textHeight- Mappings:
Namespace Name Mixin selector official q
Lewb;q:I
intermediary field_22811
Lnet/minecraft/class_4899;field_22811:I
named textHeight
Lnet/minecraft/client/realms/gui/screen/DisconnectedRealmsScreen;textHeight:I
-
-
Constructor Details
-
DisconnectedRealmsScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lewb;<init>(Ldve;Loi;Loi;)V
intermediary <init>
Lnet/minecraft/class_4899;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)V
named <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:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Ldsq;a(Ldlr;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-