Package net.minecraft.client.gui.screen
Class OpenToLanScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.OpenToLanScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class OpenToLanScreen extends Screen
- Mappings:
Namespace Name official dvfintermediary net/minecraft/class_436named net/minecraft/client/gui/screen/OpenToLanScreen
-
Field Summary
Fields Modifier and Type Field Description private static TextALLOW_COMMANDS_TEXTprivate booleanallowCommandsprivate static TextGAME_MODE_TEXTprivate GameModegameModeprivate static TextOTHER_PLAYERS_TEXTprivate ScreenparentFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors Constructor Description OpenToLanScreen(Screen parent) -
Method Summary
Modifier and Type Method Description protected voidinit()Called when a screen should be initialized.voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)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, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, 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
-
ALLOW_COMMANDS_TEXT
- Mappings:
Namespace Name Mixin selector official aLdvf;a:Loi;intermediary field_25889Lnet/minecraft/class_436;field_25889:Lnet/minecraft/class_2561;named ALLOW_COMMANDS_TEXTLnet/minecraft/client/gui/screen/OpenToLanScreen;ALLOW_COMMANDS_TEXT:Lnet/minecraft/text/Text;
-
GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector official bLdvf;b:Loi;intermediary field_25890Lnet/minecraft/class_436;field_25890:Lnet/minecraft/class_2561;named GAME_MODE_TEXTLnet/minecraft/client/gui/screen/OpenToLanScreen;GAME_MODE_TEXT:Lnet/minecraft/text/Text;
-
OTHER_PLAYERS_TEXT
- Mappings:
Namespace Name Mixin selector official cLdvf;c:Loi;intermediary field_26545Lnet/minecraft/class_436;field_26545:Lnet/minecraft/class_2561;named OTHER_PLAYERS_TEXTLnet/minecraft/client/gui/screen/OpenToLanScreen;OTHER_PLAYERS_TEXT:Lnet/minecraft/text/Text;
-
parent
- Mappings:
Namespace Name Mixin selector official pLdvf;p:Ldve;intermediary field_2548Lnet/minecraft/class_436;field_2548:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/OpenToLanScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
gameMode
- Mappings:
Namespace Name Mixin selector official qLdvf;q:Lbts;intermediary field_2545Lnet/minecraft/class_436;field_2545:Lnet/minecraft/class_1934;named gameModeLnet/minecraft/client/gui/screen/OpenToLanScreen;gameMode:Lnet/minecraft/world/GameMode;
-
allowCommands
private boolean allowCommands- Mappings:
Namespace Name Mixin selector official rLdvf;r:Zintermediary field_2546Lnet/minecraft/class_436;field_2546:Znamed allowCommandsLnet/minecraft/client/gui/screen/OpenToLanScreen;allowCommands:Z
-
-
Constructor Details
-
OpenToLanScreen
- Mappings:
Namespace Name Mixin selector official <init>Ldvf;<init>(Ldve;)Vintermediary <init>Lnet/minecraft/class_436;<init>(Lnet/minecraft/class_437;)Vnamed <init>Lnet/minecraft/client/gui/screen/OpenToLanScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
-
-
Method Details
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
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
-