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
- Mappings:
Namespace Name official eqbintermediary net/minecraft/class_436named net/minecraft/client/gui/screen/OpenToLanScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate booleanprivate static final intprivate static final Textprivate GameModeprivate static final Textprivate static final intprivate static final intprivate static final Textprivate final Screenprivate intprivate static final Textprivate @Nullable TextFieldWidgetprivate static final TextFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidinit()Called when a screen should be initialized.voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) voidtick()updatePort(String portText) Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, method_48202, method_48262, method_48263, method_48265, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_48196, 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
charTyped, focusOn, hoveredElement, isFocused, keyReleased, method_48205, method_48218, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
MIN_PORT
private static final int MIN_PORT- See Also:
- Mappings:
Namespace Name Mixin selector official aLeqb;a:Iintermediary field_41629Lnet/minecraft/class_436;field_41629:Inamed MIN_PORTLnet/minecraft/client/gui/screen/OpenToLanScreen;MIN_PORT:I
-
MAX_PORT
private static final int MAX_PORT- See Also:
- Mappings:
Namespace Name Mixin selector official bLeqb;b:Iintermediary field_41630Lnet/minecraft/class_436;field_41630:Inamed MAX_PORTLnet/minecraft/client/gui/screen/OpenToLanScreen;MAX_PORT:I
-
ALLOW_COMMANDS_TEXT
- Mappings:
Namespace Name Mixin selector official cLeqb;c:Lsu;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 nLeqb;n:Lsu;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 oLeqb;o:Lsu;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;
-
PORT_TEXT
- Mappings:
Namespace Name Mixin selector official pLeqb;p:Lsu;intermediary field_41108Lnet/minecraft/class_436;field_41108:Lnet/minecraft/class_2561;named PORT_TEXTLnet/minecraft/client/gui/screen/OpenToLanScreen;PORT_TEXT:Lnet/minecraft/text/Text;
-
UNAVAILABLE_PORT_TEXT
- Mappings:
Namespace Name Mixin selector official qLeqb;q:Lsu;intermediary field_41106Lnet/minecraft/class_436;field_41106:Lnet/minecraft/class_2561;named UNAVAILABLE_PORT_TEXTLnet/minecraft/client/gui/screen/OpenToLanScreen;UNAVAILABLE_PORT_TEXT:Lnet/minecraft/text/Text;
-
INVALID_PORT_TEXT
- Mappings:
Namespace Name Mixin selector official rLeqb;r:Lsu;intermediary field_41109Lnet/minecraft/class_436;field_41109:Lnet/minecraft/class_2561;named INVALID_PORT_TEXTLnet/minecraft/client/gui/screen/OpenToLanScreen;INVALID_PORT_TEXT:Lnet/minecraft/text/Text;
-
ERROR_TEXT_COLOR
private static final int ERROR_TEXT_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector official sLeqb;s:Iintermediary field_41107Lnet/minecraft/class_436;field_41107:Inamed ERROR_TEXT_COLORLnet/minecraft/client/gui/screen/OpenToLanScreen;ERROR_TEXT_COLOR:I
-
parent
- Mappings:
Namespace Name Mixin selector official tLeqb;t:Leqa;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 uLeqb;u:Lckh;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 vLeqb;v:Zintermediary field_2546Lnet/minecraft/class_436;field_2546:Znamed allowCommandsLnet/minecraft/client/gui/screen/OpenToLanScreen;allowCommands:Z
-
port
private int port- Mappings:
Namespace Name Mixin selector official wLeqb;w:Iintermediary field_41110Lnet/minecraft/class_436;field_41110:Inamed portLnet/minecraft/client/gui/screen/OpenToLanScreen;port:I
-
portField
- Mappings:
Namespace Name Mixin selector official xLeqb;x:Lelv;intermediary field_41111Lnet/minecraft/class_436;field_41111:Lnet/minecraft/class_342;named portFieldLnet/minecraft/client/gui/screen/OpenToLanScreen;portField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
-
Constructor Details
-
OpenToLanScreen
- Mappings:
Namespace Name Mixin selector official <init>Leqb;<init>(Leqa;)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.
-
tick
public void tick() -
updatePort
- Mappings:
Namespace Name Mixin selector official aLeqb;a(Ljava/lang/String;)Lsu;intermediary method_47417Lnet/minecraft/class_436;method_47417(Ljava/lang/String;)Lnet/minecraft/class_2561;named updatePortLnet/minecraft/client/gui/screen/OpenToLanScreen;updatePort(Ljava/lang/String;)Lnet/minecraft/text/Text;
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLemj;a(Leer;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
-