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 epc
intermediary net/minecraft/class_436
named 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
Modifier and TypeFieldDescriptionprivate static final Text
private boolean
private static final int
private static final Text
private GameMode
private static final Text
private static final int
private static final int
private static final Text
private final Screen
private int
private static final Text
private @Nullable TextFieldWidget
private static final Text
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
init()
Called when a screen should be initialized.void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) void
tick()
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, narrateScreenIfNarrationEnabled, remove, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods 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, 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
-
MIN_PORT
private static final int MIN_PORT- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lepc;a:I
intermediary field_41629
Lnet/minecraft/class_436;field_41629:I
named MIN_PORT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;MIN_PORT:I
-
MAX_PORT
private static final int MAX_PORT- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lepc;b:I
intermediary field_41630
Lnet/minecraft/class_436;field_41630:I
named MAX_PORT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;MAX_PORT:I
-
ALLOW_COMMANDS_TEXT
- Mappings:
Namespace Name Mixin selector official c
Lepc;c:Lss;
intermediary field_25889
Lnet/minecraft/class_436;field_25889:Lnet/minecraft/class_2561;
named ALLOW_COMMANDS_TEXT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;ALLOW_COMMANDS_TEXT:Lnet/minecraft/text/Text;
-
GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector official n
Lepc;n:Lss;
intermediary field_25890
Lnet/minecraft/class_436;field_25890:Lnet/minecraft/class_2561;
named GAME_MODE_TEXT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;GAME_MODE_TEXT:Lnet/minecraft/text/Text;
-
OTHER_PLAYERS_TEXT
- Mappings:
Namespace Name Mixin selector official o
Lepc;o:Lss;
intermediary field_26545
Lnet/minecraft/class_436;field_26545:Lnet/minecraft/class_2561;
named OTHER_PLAYERS_TEXT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;OTHER_PLAYERS_TEXT:Lnet/minecraft/text/Text;
-
PORT_TEXT
- Mappings:
Namespace Name Mixin selector official p
Lepc;p:Lss;
intermediary field_41108
Lnet/minecraft/class_436;field_41108:Lnet/minecraft/class_2561;
named PORT_TEXT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;PORT_TEXT:Lnet/minecraft/text/Text;
-
UNAVAILABLE_PORT_TEXT
- Mappings:
Namespace Name Mixin selector official q
Lepc;q:Lss;
intermediary field_41106
Lnet/minecraft/class_436;field_41106:Lnet/minecraft/class_2561;
named UNAVAILABLE_PORT_TEXT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;UNAVAILABLE_PORT_TEXT:Lnet/minecraft/text/Text;
-
INVALID_PORT_TEXT
- Mappings:
Namespace Name Mixin selector official r
Lepc;r:Lss;
intermediary field_41109
Lnet/minecraft/class_436;field_41109:Lnet/minecraft/class_2561;
named INVALID_PORT_TEXT
Lnet/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 s
Lepc;s:I
intermediary field_41107
Lnet/minecraft/class_436;field_41107:I
named ERROR_TEXT_COLOR
Lnet/minecraft/client/gui/screen/OpenToLanScreen;ERROR_TEXT_COLOR:I
-
parent
- Mappings:
Namespace Name Mixin selector official t
Lepc;t:Lepb;
intermediary field_2548
Lnet/minecraft/class_436;field_2548:Lnet/minecraft/class_437;
named parent
Lnet/minecraft/client/gui/screen/OpenToLanScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
gameMode
- Mappings:
Namespace Name Mixin selector official u
Lepc;u:Lcjt;
intermediary field_2545
Lnet/minecraft/class_436;field_2545:Lnet/minecraft/class_1934;
named gameMode
Lnet/minecraft/client/gui/screen/OpenToLanScreen;gameMode:Lnet/minecraft/world/GameMode;
-
allowCommands
private boolean allowCommands- Mappings:
Namespace Name Mixin selector official v
Lepc;v:Z
intermediary field_2546
Lnet/minecraft/class_436;field_2546:Z
named allowCommands
Lnet/minecraft/client/gui/screen/OpenToLanScreen;allowCommands:Z
-
port
private int port- Mappings:
Namespace Name Mixin selector official w
Lepc;w:I
intermediary field_41110
Lnet/minecraft/class_436;field_41110:I
named port
Lnet/minecraft/client/gui/screen/OpenToLanScreen;port:I
-
portField
- Mappings:
Namespace Name Mixin selector official x
Lepc;x:Lelh;
intermediary field_41111
Lnet/minecraft/class_436;field_41111:Lnet/minecraft/class_342;
named portField
Lnet/minecraft/client/gui/screen/OpenToLanScreen;portField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
-
Constructor Details
-
OpenToLanScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lepc;<init>(Lepb;)V
intermediary <init>
Lnet/minecraft/class_436;<init>(Lnet/minecraft/class_437;)V
named <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 a
Lepc;a(Ljava/lang/String;)Lss;
intermediary method_47417
Lnet/minecraft/class_436;method_47417(Ljava/lang/String;)Lnet/minecraft/class_2561;
named updatePort
Lnet/minecraft/client/gui/screen/OpenToLanScreen;updatePort(Ljava/lang/String;)Lnet/minecraft/text/Text;
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lely;a(Leed;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
-