类 RealmsSlotOptionsScreen
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.AbstractParentElement
-
- net.minecraft.client.gui.screen.Screen
-
- net.minecraft.client.realms.gui.screen.RealmsScreen
-
- net.minecraft.client.realms.gui.screen.RealmsSlotOptionsScreen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class RealmsSlotOptionsScreen extends RealmsScreen
- Mappings:
Namespace Name official dslintermediary net/minecraft/class_4423named net/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) classRealmsSlotOptionsScreen.SettingsSlider
-
字段概要
字段 修饰符和类型 字段 说明 private intactiveSlotprivate intcolumn1_xprivate intcolumn2_xprivate booleancommandBlocksstatic List<Difficulty>DIFFICULTIESprivate intdifficultyIndexprivate static TextEDIT_SLOT_NAMEprivate Difficultyfield_27943private static intfield_32125private static intfield_32126private booleanforceGameModestatic List<GameMode>GAME_MODESprivate GameModegameModeIndexprivate TextFieldWidgetnameEditprivate RealmsWorldOptionsoptionsprotected RealmsConfigureWorldScreenparentprivate booleanpvpprivate static TextSPAWN_PROTECTIONprivate booleanspawnAnimalsprivate booleanspawnMonstersprivate booleanspawnNPCsprivate RealmsSlotOptionsScreen.SettingsSliderspawnProtectionButtonprivate RealmsLabeltitleLabelprivate RealmsLabeltoastMessageprivate RealmsServer.WorldTypeworldType-
从类继承的字段 net.minecraft.client.realms.gui.screen.RealmsScreen
field_33036, field_33037, field_33038, field_33039, field_33040, field_33041, field_33042, field_33043, field_33044, field_33045, field_33046, field_33047, field_33048, field_33049, field_33050, field_33051, field_33052, field_33053, field_33054, field_33055, field_33056, field_33057, field_33058, field_33059, field_33060, field_33061, field_33062, field_33063, field_33064, field_33065
-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 RealmsSlotOptionsScreen(RealmsConfigureWorldScreen parent, RealmsWorldOptions options, RealmsServer.WorldType worldType, int activeSlot)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 private StringgetSlotName()voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured.private static <T> Tmethod_32498(List<T> list, int int2, int int3)private static <T> intmethod_32499(List<T> list, T t, int int2)voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)private voidsaveSettings()voidtick()-
从类继承的方法 net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, row
-
从类继承的方法 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, onClose, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, 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
-
-
-
-
字段详细资料
-
field_32125
private static final int field_32125
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official TLdsl;T:Iintermediary field_32125Lnet/minecraft/class_4423;field_32125:Inamed field_32125Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;field_32125:I
-
DIFFICULTIES
public static final List<Difficulty> DIFFICULTIES
- Mappings:
Namespace Name Mixin selector official aLdsl;a:Ljava/util/List;intermediary field_22723Lnet/minecraft/class_4423;field_22723:Ljava/util/List;named DIFFICULTIESLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;DIFFICULTIES:Ljava/util/List;
-
field_32126
private static final int field_32126
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official ULdsl;U:Iintermediary field_32126Lnet/minecraft/class_4423;field_32126:Inamed field_32126Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;field_32126:I
-
GAME_MODES
public static final List<GameMode> GAME_MODES
- Mappings:
Namespace Name Mixin selector official bLdsl;b:Ljava/util/List;intermediary field_22724Lnet/minecraft/class_4423;field_22724:Ljava/util/List;named GAME_MODESLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;GAME_MODES:Ljava/util/List;
-
EDIT_SLOT_NAME
private static final Text EDIT_SLOT_NAME
- Mappings:
Namespace Name Mixin selector official VLdsl;V:Lon;intermediary field_26516Lnet/minecraft/class_4423;field_26516:Lnet/minecraft/class_2561;named EDIT_SLOT_NAMELnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;EDIT_SLOT_NAME:Lnet/minecraft/text/Text;
-
SPAWN_PROTECTION
private static final Text SPAWN_PROTECTION
- Mappings:
Namespace Name Mixin selector official WLdsl;W:Lon;intermediary field_27942Lnet/minecraft/class_4423;field_27942:Lnet/minecraft/class_2561;named SPAWN_PROTECTIONLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;SPAWN_PROTECTION:Lnet/minecraft/text/Text;
-
nameEdit
private TextFieldWidget nameEdit
- Mappings:
Namespace Name Mixin selector official XLdsl;X:Ldwe;intermediary field_20113Lnet/minecraft/class_4423;field_20113:Lnet/minecraft/class_342;named nameEditLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;nameEdit:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
parent
protected final RealmsConfigureWorldScreen parent
- Mappings:
Namespace Name Mixin selector official cLdsl;c:Ldru;intermediary field_20109Lnet/minecraft/class_4423;field_20109:Lnet/minecraft/class_4388;named parentLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
-
column1_x
private int column1_x
- Mappings:
Namespace Name Mixin selector official YLdsl;Y:Iintermediary field_20114Lnet/minecraft/class_4423;field_20114:Inamed column1_xLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;column1_x:I
-
column2_x
private int column2_x
- Mappings:
Namespace Name Mixin selector official ZLdsl;Z:Iintermediary field_20116Lnet/minecraft/class_4423;field_20116:Inamed column2_xLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;column2_x:I
-
options
private final RealmsWorldOptions options
- Mappings:
Namespace Name Mixin selector official aaLdsl;aa:Ldqt;intermediary field_20117Lnet/minecraft/class_4423;field_20117:Lnet/minecraft/class_4883;named optionsLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;options:Lnet/minecraft/client/realms/dto/RealmsWorldOptions;
-
worldType
private final RealmsServer.WorldType worldType
- Mappings:
Namespace Name Mixin selector official abLdsl;ab:Ldqn$c;intermediary field_20118Lnet/minecraft/class_4423;field_20118:Lnet/minecraft/class_4877$class_4321;named worldTypeLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;worldType:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
activeSlot
private final int activeSlot
- Mappings:
Namespace Name Mixin selector official acLdsl;ac:Iintermediary field_20119Lnet/minecraft/class_4423;field_20119:Inamed activeSlotLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;activeSlot:I
-
field_27943
private Difficulty field_27943
- Mappings:
Namespace Name Mixin selector official adLdsl;ad:Lard;intermediary field_27943Lnet/minecraft/class_4423;field_27943:Lnet/minecraft/class_1267;named field_27943Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;field_27943:Lnet/minecraft/world/Difficulty;
-
gameModeIndex
private GameMode gameModeIndex
- Mappings:
Namespace Name Mixin selector official aeLdsl;ae:Lbvo;intermediary field_20121Lnet/minecraft/class_4423;field_20121:Lnet/minecraft/class_1934;named gameModeIndexLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;gameModeIndex:Lnet/minecraft/world/GameMode;
-
pvp
private boolean pvp
- Mappings:
Namespace Name Mixin selector official afLdsl;af:Zintermediary field_20122Lnet/minecraft/class_4423;field_20122:Znamed pvpLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;pvp:Z
-
spawnNPCs
private boolean spawnNPCs
- Mappings:
Namespace Name Mixin selector official agLdsl;ag:Zintermediary field_20123Lnet/minecraft/class_4423;field_20123:Znamed spawnNPCsLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnNPCs:Z
-
spawnAnimals
private boolean spawnAnimals
- Mappings:
Namespace Name Mixin selector official ahLdsl;ah:Zintermediary field_20124Lnet/minecraft/class_4423;field_20124:Znamed spawnAnimalsLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnAnimals:Z
-
spawnMonsters
private boolean spawnMonsters
- Mappings:
Namespace Name Mixin selector official aiLdsl;ai:Zintermediary field_20125Lnet/minecraft/class_4423;field_20125:Znamed spawnMonstersLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnMonsters:Z
-
difficultyIndex
private int difficultyIndex
- Mappings:
Namespace Name Mixin selector official ajLdsl;aj:Iintermediary field_20120Lnet/minecraft/class_4423;field_20120:Inamed difficultyIndexLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;difficultyIndex:I
-
commandBlocks
private boolean commandBlocks
- Mappings:
Namespace Name Mixin selector official akLdsl;ak:Zintermediary field_20127Lnet/minecraft/class_4423;field_20127:Znamed commandBlocksLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;commandBlocks:Z
-
forceGameMode
private boolean forceGameMode
- Mappings:
Namespace Name Mixin selector official alLdsl;al:Zintermediary field_20128Lnet/minecraft/class_4423;field_20128:Znamed forceGameModeLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;forceGameMode:Z
-
spawnProtectionButton
private RealmsSlotOptionsScreen.SettingsSlider spawnProtectionButton
- Mappings:
Namespace Name Mixin selector official amLdsl;am:Ldsl$a;intermediary field_20133Lnet/minecraft/class_4423;field_20133:Lnet/minecraft/class_4423$class_4424;named spawnProtectionButtonLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnProtectionButton:Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen$SettingsSlider;
-
titleLabel
private RealmsLabel titleLabel
- Mappings:
Namespace Name Mixin selector official anLdsl;an:Lfan;intermediary field_20107Lnet/minecraft/class_4423;field_20107:Lnet/minecraft/class_4903;named titleLabelLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;titleLabel:Lnet/minecraft/client/realms/RealmsLabel;
-
toastMessage
private RealmsLabel toastMessage
- Mappings:
Namespace Name Mixin selector official aoLdsl;ao:Lfan;intermediary field_20502Lnet/minecraft/class_4423;field_20502:Lnet/minecraft/class_4903;named toastMessageLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;toastMessage:Lnet/minecraft/client/realms/RealmsLabel;
-
-
构造器详细资料
-
RealmsSlotOptionsScreen
public RealmsSlotOptionsScreen(RealmsConfigureWorldScreen parent, RealmsWorldOptions options, RealmsServer.WorldType worldType, int activeSlot)
- Mappings:
Namespace Name Mixin selector official <init>Ldsl;<init>(Ldru;Ldqt;Ldqn$c;I)Vintermediary <init>Lnet/minecraft/class_4423;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_4883;Lnet/minecraft/class_4877$class_4321;I)Vnamed <init>Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;Lnet/minecraft/client/realms/dto/RealmsWorldOptions;Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;I)V
-
-
方法详细资料
-
removed
public void removed()
-
tick
public void tick()
- 指定者:
tick在接口中TickableElement- 覆盖:
tick在类中RealmsScreen- Mappings:
Namespace Name Mixin selector official dLdwp;d()Vintermediary method_25393Lnet/minecraft/class_4893;method_25393()Vnamed tickLnet/minecraft/client/gui/screen/TickableElement;tick()V
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- 指定者:
keyPressed在接口中Element- 指定者:
keyPressed在接口中ParentElement- 覆盖:
keyPressed在类中Screen- 参数:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdwv;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
method_32498
private static <T> T method_32498(List<T> list, int int2, int int3)
- Mappings:
Namespace Name Mixin selector official aLdsl;a(Ljava/util/List;II)Ljava/lang/Object;intermediary method_32498Lnet/minecraft/class_4423;method_32498(Ljava/util/List;II)Ljava/lang/Object;named method_32498Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;method_32498(Ljava/util/List;II)Ljava/lang/Object;
-
method_32499
private static <T> int method_32499(List<T> list, T t, int int2)
- Mappings:
Namespace Name Mixin selector official aLdsl;a(Ljava/util/List;Ljava/lang/Object;I)Iintermediary method_32499Lnet/minecraft/class_4423;method_32499(Ljava/util/List;Ljava/lang/Object;I)Inamed method_32499Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;method_32499(Ljava/util/List;Ljava/lang/Object;I)I
-
init
public 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
-
getSlotName
private String getSlotName()
- Mappings:
Namespace Name Mixin selector official hLdsl;h()Ljava/lang/String;intermediary method_21484Lnet/minecraft/class_4423;method_21484()Ljava/lang/String;named getSlotNameLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;getSlotName()Ljava/lang/String;
-
saveSettings
private void saveSettings()
- Mappings:
Namespace Name Mixin selector official iLdsl;i()Vintermediary method_21486Lnet/minecraft/class_4423;method_21486()Vnamed saveSettingsLnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;saveSettings()V
-
-