类 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
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class OpenToLanScreen extends Screen
- Mappings:
Namespace Name official dzhintermediary net/minecraft/class_436named net/minecraft/client/gui/screen/OpenToLanScreen
-
-
字段概要
字段 修饰符和类型 字段 说明 private static TextALLOW_COMMANDS_TEXTprivate booleanallowCommandsprivate static TextGAME_MODE_TEXTprivate GameModegameModeprivate static TextOTHER_PLAYERS_TEXTprivate Screenparent-
从类继承的字段 net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 构造器 说明 OpenToLanScreen(Screen parent)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidinit()Called when a screen should be initialized.voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)-
从类继承的方法 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, wrapScreenError
-
从类继承的方法 net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
-
-
-
字段详细资料
-
ALLOW_COMMANDS_TEXT
private static final Text ALLOW_COMMANDS_TEXT
- Mappings:
Namespace Name Mixin selector official aLdzh;a:Lon;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
private static final Text GAME_MODE_TEXT
- Mappings:
Namespace Name Mixin selector official bLdzh;b:Lon;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
private static final Text OTHER_PLAYERS_TEXT
- Mappings:
Namespace Name Mixin selector official cLdzh;c:Lon;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
private final Screen parent
- Mappings:
Namespace Name Mixin selector official pLdzh;p:Ldzg;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
private GameMode gameMode
- Mappings:
Namespace Name Mixin selector official qLdzh;q:Lbvo;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 rLdzh;r:Zintermediary field_2546Lnet/minecraft/class_436;field_2546:Znamed allowCommandsLnet/minecraft/client/gui/screen/OpenToLanScreen;allowCommands:Z
-
-
构造器详细资料
-
OpenToLanScreen
public OpenToLanScreen(Screen parent)
- Mappings:
Namespace Name Mixin selector official <init>Ldzh;<init>(Ldzg;)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
-
-
方法详细资料
-
init
protected void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
- 指定者:
render在接口中Drawable- 覆盖:
render在类中Screen- Mappings:
Namespace Name Mixin selector official aLdws;a(Ldpi;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
-
-