Package net.minecraft.client.gui.screen
Class OpenToLanScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.OpenToLanScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/OpenToLanScreen
intermediary net/minecraft/class_436
official fty
-
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, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
init()
Called when a screen should be initialized.void
render
(DrawContext context, int mouseX, int mouseY, float delta) updatePort
(String portText) Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
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.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
MIN_PORT
private static final int MIN_PORT- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_PORT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;MIN_PORT:I
intermediary field_41629
Lnet/minecraft/class_436;field_41629:I
official a
Lfty;a:I
-
MAX_PORT
private static final int MAX_PORT- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_PORT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;MAX_PORT:I
intermediary field_41630
Lnet/minecraft/class_436;field_41630:I
official b
Lfty;b:I
-
ALLOW_COMMANDS_TEXT
- Mappings:
Namespace Name Mixin selector named ALLOW_COMMANDS_TEXT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;ALLOW_COMMANDS_TEXT:Lnet/minecraft/text/Text;
intermediary field_25889
Lnet/minecraft/class_436;field_25889:Lnet/minecraft/class_2561;
official c
Lfty;c:Lxv;
-
GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector named GAME_MODE_TEXT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;GAME_MODE_TEXT:Lnet/minecraft/text/Text;
intermediary field_25890
Lnet/minecraft/class_436;field_25890:Lnet/minecraft/class_2561;
official d
Lfty;d:Lxv;
-
OTHER_PLAYERS_TEXT
- Mappings:
Namespace Name Mixin selector named OTHER_PLAYERS_TEXT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;OTHER_PLAYERS_TEXT:Lnet/minecraft/text/Text;
intermediary field_26545
Lnet/minecraft/class_436;field_26545:Lnet/minecraft/class_2561;
official s
Lfty;s:Lxv;
-
PORT_TEXT
- Mappings:
Namespace Name Mixin selector named PORT_TEXT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;PORT_TEXT:Lnet/minecraft/text/Text;
intermediary field_41108
Lnet/minecraft/class_436;field_41108:Lnet/minecraft/class_2561;
official u
Lfty;u:Lxv;
-
UNAVAILABLE_PORT_TEXT
- Mappings:
Namespace Name Mixin selector named UNAVAILABLE_PORT_TEXT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;UNAVAILABLE_PORT_TEXT:Lnet/minecraft/text/Text;
intermediary field_41106
Lnet/minecraft/class_436;field_41106:Lnet/minecraft/class_2561;
official v
Lfty;v:Lxv;
-
INVALID_PORT_TEXT
- Mappings:
Namespace Name Mixin selector named INVALID_PORT_TEXT
Lnet/minecraft/client/gui/screen/OpenToLanScreen;INVALID_PORT_TEXT:Lnet/minecraft/text/Text;
intermediary field_41109
Lnet/minecraft/class_436;field_41109:Lnet/minecraft/class_2561;
official w
Lfty;w:Lxv;
-
ERROR_TEXT_COLOR
private static final int ERROR_TEXT_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector named ERROR_TEXT_COLOR
Lnet/minecraft/client/gui/screen/OpenToLanScreen;ERROR_TEXT_COLOR:I
intermediary field_41107
Lnet/minecraft/class_436;field_41107:I
official x
Lfty;x:I
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/gui/screen/OpenToLanScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
intermediary field_2548
Lnet/minecraft/class_436;field_2548:Lnet/minecraft/class_437;
official y
Lfty;y:Lftx;
-
gameMode
- Mappings:
Namespace Name Mixin selector named gameMode
Lnet/minecraft/client/gui/screen/OpenToLanScreen;gameMode:Lnet/minecraft/world/GameMode;
intermediary field_2545
Lnet/minecraft/class_436;field_2545:Lnet/minecraft/class_1934;
official z
Lfty;z:Ldhe;
-
allowCommands
private boolean allowCommands- Mappings:
Namespace Name Mixin selector named allowCommands
Lnet/minecraft/client/gui/screen/OpenToLanScreen;allowCommands:Z
intermediary field_2546
Lnet/minecraft/class_436;field_2546:Z
official A
Lfty;A:Z
-
port
private int port- Mappings:
Namespace Name Mixin selector named port
Lnet/minecraft/client/gui/screen/OpenToLanScreen;port:I
intermediary field_41110
Lnet/minecraft/class_436;field_41110:I
official B
Lfty;B:I
-
portField
- Mappings:
Namespace Name Mixin selector named portField
Lnet/minecraft/client/gui/screen/OpenToLanScreen;portField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_41111
Lnet/minecraft/class_436;field_41111:Lnet/minecraft/class_342;
official C
Lfty;C:Lfon;
-
-
Constructor Details
-
OpenToLanScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/OpenToLanScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
intermediary <init>
Lnet/minecraft/class_436;<init>(Lnet/minecraft/class_437;)V
official <init>
Lfty;<init>(Lftx;)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.
-
close
public void close() -
updatePort
- Mappings:
Namespace Name Mixin selector named updatePort
Lnet/minecraft/client/gui/screen/OpenToLanScreen;updatePort(Ljava/lang/String;)Lnet/minecraft/text/Text;
intermediary method_47417
Lnet/minecraft/class_436;method_47417(Ljava/lang/String;)Lnet/minecraft/class_2561;
official a
Lfty;a(Ljava/lang/String;)Lxv;
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfpi;a(Lfnr;IIF)V
-