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/OpenToLanScreenintermediary net/minecraft/class_436official gpq
-
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 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, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidinit()Called when a screen should be initialized.voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) updatePort(String portText) Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, deferSubtitles, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, tick, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods 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
getBorder, isClickable, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods 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_PORTLnet/minecraft/client/gui/screen/OpenToLanScreen;MIN_PORT:Iintermediary field_41629Lnet/minecraft/class_436;field_41629:Iofficial aLgpq;a:I
-
MAX_PORT
private static final int MAX_PORT- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_PORTLnet/minecraft/client/gui/screen/OpenToLanScreen;MAX_PORT:Iintermediary field_41630Lnet/minecraft/class_436;field_41630:Iofficial bLgpq;b:I
-
ALLOW_COMMANDS_TEXT
- Mappings:
Namespace Name Mixin selector named ALLOW_COMMANDS_TEXTLnet/minecraft/client/gui/screen/OpenToLanScreen;ALLOW_COMMANDS_TEXT:Lnet/minecraft/text/Text;intermediary field_25889Lnet/minecraft/class_436;field_25889:Lnet/minecraft/class_2561;official cLgpq;c:Lym;
-
GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector named GAME_MODE_TEXTLnet/minecraft/client/gui/screen/OpenToLanScreen;GAME_MODE_TEXT:Lnet/minecraft/text/Text;intermediary field_25890Lnet/minecraft/class_436;field_25890:Lnet/minecraft/class_2561;official dLgpq;d:Lym;
-
OTHER_PLAYERS_TEXT
- Mappings:
Namespace Name Mixin selector named OTHER_PLAYERS_TEXTLnet/minecraft/client/gui/screen/OpenToLanScreen;OTHER_PLAYERS_TEXT:Lnet/minecraft/text/Text;intermediary field_26545Lnet/minecraft/class_436;field_26545:Lnet/minecraft/class_2561;official eLgpq;e:Lym;
-
PORT_TEXT
- Mappings:
Namespace Name Mixin selector named PORT_TEXTLnet/minecraft/client/gui/screen/OpenToLanScreen;PORT_TEXT:Lnet/minecraft/text/Text;intermediary field_41108Lnet/minecraft/class_436;field_41108:Lnet/minecraft/class_2561;official fLgpq;f:Lym;
-
UNAVAILABLE_PORT_TEXT
- Mappings:
Namespace Name Mixin selector named UNAVAILABLE_PORT_TEXTLnet/minecraft/client/gui/screen/OpenToLanScreen;UNAVAILABLE_PORT_TEXT:Lnet/minecraft/text/Text;intermediary field_41106Lnet/minecraft/class_436;field_41106:Lnet/minecraft/class_2561;official tLgpq;t:Lym;
-
INVALID_PORT_TEXT
- Mappings:
Namespace Name Mixin selector named INVALID_PORT_TEXTLnet/minecraft/client/gui/screen/OpenToLanScreen;INVALID_PORT_TEXT:Lnet/minecraft/text/Text;intermediary field_41109Lnet/minecraft/class_436;field_41109:Lnet/minecraft/class_2561;official uLgpq;u:Lym;
-
parent
- Mappings:
Namespace Name Mixin selector named parentLnet/minecraft/client/gui/screen/OpenToLanScreen;parent:Lnet/minecraft/client/gui/screen/Screen;intermediary field_2548Lnet/minecraft/class_436;field_2548:Lnet/minecraft/class_437;official vLgpq;v:Lgpp;
-
gameMode
- Mappings:
Namespace Name Mixin selector named gameModeLnet/minecraft/client/gui/screen/OpenToLanScreen;gameMode:Lnet/minecraft/world/GameMode;intermediary field_2545Lnet/minecraft/class_436;field_2545:Lnet/minecraft/class_1934;official wLgpq;w:Ldum;
-
allowCommands
private boolean allowCommands- Mappings:
Namespace Name Mixin selector named allowCommandsLnet/minecraft/client/gui/screen/OpenToLanScreen;allowCommands:Zintermediary field_2546Lnet/minecraft/class_436;field_2546:Zofficial xLgpq;x:Z
-
port
private int port- Mappings:
Namespace Name Mixin selector named portLnet/minecraft/client/gui/screen/OpenToLanScreen;port:Iintermediary field_41110Lnet/minecraft/class_436;field_41110:Iofficial yLgpq;y:I
-
portField
- Mappings:
Namespace Name Mixin selector named portFieldLnet/minecraft/client/gui/screen/OpenToLanScreen;portField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_41111Lnet/minecraft/class_436;field_41111:Lnet/minecraft/class_342;official zLgpq;z:Lghb;
-
-
Constructor Details
-
OpenToLanScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/OpenToLanScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)Vintermediary <init>Lnet/minecraft/class_436;<init>(Lnet/minecraft/class_437;)Vofficial <init>Lgpq;<init>(Lgpp;)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 updatePortLnet/minecraft/client/gui/screen/OpenToLanScreen;updatePort(Ljava/lang/String;)Lnet/minecraft/text/Text;intermediary method_47417Lnet/minecraft/class_436;method_47417(Ljava/lang/String;)Lnet/minecraft/class_2561;official aLgpq;a(Ljava/lang/String;)Lym;
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLghw;a(Lggf;IIF)V
-