类 RealmsSlotOptionsScreen

    • 字段详细资料

      • field_32125

        private static final int field_32125
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official T Ldsl;T:I
        intermediary field_32125 Lnet/minecraft/class_4423;field_32125:I
        named field_32125 Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;field_32125:I
      • DIFFICULTIES

        public static final List<Difficulty> DIFFICULTIES
        Mappings:
        Namespace Name Mixin selector
        official a Ldsl;a:Ljava/util/List;
        intermediary field_22723 Lnet/minecraft/class_4423;field_22723:Ljava/util/List;
        named DIFFICULTIES Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;DIFFICULTIES:Ljava/util/List;
      • field_32126

        private static final int field_32126
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official U Ldsl;U:I
        intermediary field_32126 Lnet/minecraft/class_4423;field_32126:I
        named field_32126 Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;field_32126:I
      • GAME_MODES

        public static final List<GameMode> GAME_MODES
        Mappings:
        Namespace Name Mixin selector
        official b Ldsl;b:Ljava/util/List;
        intermediary field_22724 Lnet/minecraft/class_4423;field_22724:Ljava/util/List;
        named GAME_MODES Lnet/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 V Ldsl;V:Lon;
        intermediary field_26516 Lnet/minecraft/class_4423;field_26516:Lnet/minecraft/class_2561;
        named EDIT_SLOT_NAME Lnet/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 W Ldsl;W:Lon;
        intermediary field_27942 Lnet/minecraft/class_4423;field_27942:Lnet/minecraft/class_2561;
        named SPAWN_PROTECTION Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;SPAWN_PROTECTION:Lnet/minecraft/text/Text;
      • nameEdit

        private TextFieldWidget nameEdit
        Mappings:
        Namespace Name Mixin selector
        official X Ldsl;X:Ldwe;
        intermediary field_20113 Lnet/minecraft/class_4423;field_20113:Lnet/minecraft/class_342;
        named nameEdit Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;nameEdit:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      • parent

        protected final RealmsConfigureWorldScreen parent
        Mappings:
        Namespace Name Mixin selector
        official c Ldsl;c:Ldru;
        intermediary field_20109 Lnet/minecraft/class_4423;field_20109:Lnet/minecraft/class_4388;
        named parent Lnet/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 Y Ldsl;Y:I
        intermediary field_20114 Lnet/minecraft/class_4423;field_20114:I
        named column1_x Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;column1_x:I
      • column2_x

        private int column2_x
        Mappings:
        Namespace Name Mixin selector
        official Z Ldsl;Z:I
        intermediary field_20116 Lnet/minecraft/class_4423;field_20116:I
        named column2_x Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;column2_x:I
      • options

        private final RealmsWorldOptions options
        Mappings:
        Namespace Name Mixin selector
        official aa Ldsl;aa:Ldqt;
        intermediary field_20117 Lnet/minecraft/class_4423;field_20117:Lnet/minecraft/class_4883;
        named options Lnet/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 ab Ldsl;ab:Ldqn$c;
        intermediary field_20118 Lnet/minecraft/class_4423;field_20118:Lnet/minecraft/class_4877$class_4321;
        named worldType Lnet/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 ac Ldsl;ac:I
        intermediary field_20119 Lnet/minecraft/class_4423;field_20119:I
        named activeSlot Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;activeSlot:I
      • field_27943

        private Difficulty field_27943
        Mappings:
        Namespace Name Mixin selector
        official ad Ldsl;ad:Lard;
        intermediary field_27943 Lnet/minecraft/class_4423;field_27943:Lnet/minecraft/class_1267;
        named field_27943 Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;field_27943:Lnet/minecraft/world/Difficulty;
      • gameModeIndex

        private GameMode gameModeIndex
        Mappings:
        Namespace Name Mixin selector
        official ae Ldsl;ae:Lbvo;
        intermediary field_20121 Lnet/minecraft/class_4423;field_20121:Lnet/minecraft/class_1934;
        named gameModeIndex Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;gameModeIndex:Lnet/minecraft/world/GameMode;
      • pvp

        private boolean pvp
        Mappings:
        Namespace Name Mixin selector
        official af Ldsl;af:Z
        intermediary field_20122 Lnet/minecraft/class_4423;field_20122:Z
        named pvp Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;pvp:Z
      • spawnNPCs

        private boolean spawnNPCs
        Mappings:
        Namespace Name Mixin selector
        official ag Ldsl;ag:Z
        intermediary field_20123 Lnet/minecraft/class_4423;field_20123:Z
        named spawnNPCs Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnNPCs:Z
      • spawnAnimals

        private boolean spawnAnimals
        Mappings:
        Namespace Name Mixin selector
        official ah Ldsl;ah:Z
        intermediary field_20124 Lnet/minecraft/class_4423;field_20124:Z
        named spawnAnimals Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnAnimals:Z
      • spawnMonsters

        private boolean spawnMonsters
        Mappings:
        Namespace Name Mixin selector
        official ai Ldsl;ai:Z
        intermediary field_20125 Lnet/minecraft/class_4423;field_20125:Z
        named spawnMonsters Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnMonsters:Z
      • difficultyIndex

        private int difficultyIndex
        Mappings:
        Namespace Name Mixin selector
        official aj Ldsl;aj:I
        intermediary field_20120 Lnet/minecraft/class_4423;field_20120:I
        named difficultyIndex Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;difficultyIndex:I
      • commandBlocks

        private boolean commandBlocks
        Mappings:
        Namespace Name Mixin selector
        official ak Ldsl;ak:Z
        intermediary field_20127 Lnet/minecraft/class_4423;field_20127:Z
        named commandBlocks Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;commandBlocks:Z
      • forceGameMode

        private boolean forceGameMode
        Mappings:
        Namespace Name Mixin selector
        official al Ldsl;al:Z
        intermediary field_20128 Lnet/minecraft/class_4423;field_20128:Z
        named forceGameMode Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;forceGameMode:Z
      • spawnProtectionButton

        private RealmsSlotOptionsScreen.SettingsSlider spawnProtectionButton
        Mappings:
        Namespace Name Mixin selector
        official am Ldsl;am:Ldsl$a;
        intermediary field_20133 Lnet/minecraft/class_4423;field_20133:Lnet/minecraft/class_4423$class_4424;
        named spawnProtectionButton Lnet/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 an Ldsl;an:Lfan;
        intermediary field_20107 Lnet/minecraft/class_4423;field_20107:Lnet/minecraft/class_4903;
        named titleLabel Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;titleLabel:Lnet/minecraft/client/realms/RealmsLabel;
      • toastMessage

        private RealmsLabel toastMessage
        Mappings:
        Namespace Name Mixin selector
        official ao Ldsl;ao:Lfan;
        intermediary field_20502 Lnet/minecraft/class_4423;field_20502:Lnet/minecraft/class_4903;
        named toastMessage Lnet/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)V
        intermediary <init> Lnet/minecraft/class_4423;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_4883;Lnet/minecraft/class_4877$class_4321;I)V
        named <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()
        覆盖:
        removed 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official e Ldzg;e()V
        intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
        named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
      • tick

        public void tick()
        指定者:
        tick 在接口中 TickableElement
        覆盖:
        tick 在类中 RealmsScreen
        Mappings:
        Namespace Name Mixin selector
        official d Ldwp;d()V
        intermediary method_25393 Lnet/minecraft/class_4893;method_25393()V
        named tick Lnet/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 in GLFW class.
        指定者:
        keyPressed 在接口中 Element
        指定者:
        keyPressed 在接口中 ParentElement
        覆盖:
        keyPressed 在类中 Screen
        参数:
        keyCode - the named key code of the event as described in the GLFW class
        scanCode - the unique/platform-specific scan code of the keyboard input
        modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
        返回:
        true to 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 a Ldwv;a(III)Z
        intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
        named keyPressed Lnet/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 a Ldsl;a(Ljava/util/List;II)Ljava/lang/Object;
        intermediary method_32498 Lnet/minecraft/class_4423;method_32498(Ljava/util/List;II)Ljava/lang/Object;
        named method_32498 Lnet/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 a Ldsl;a(Ljava/util/List;Ljava/lang/Object;I)I
        intermediary method_32499 Lnet/minecraft/class_4423;method_32499(Ljava/util/List;Ljava/lang/Object;I)I
        named method_32499 Lnet/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.

        覆盖:
        init 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official b Ldzg;b()V
        intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
        named init Lnet/minecraft/client/gui/screen/Screen;init()V
      • render

        public void render​(MatrixStack matrices,
                           int mouseX,
                           int mouseY,
                           float delta)
        指定者:
        render 在接口中 Drawable
        覆盖:
        render 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official a Ldws;a(Ldpi;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
      • getSlotName

        private String getSlotName()
        Mappings:
        Namespace Name Mixin selector
        official h Ldsl;h()Ljava/lang/String;
        intermediary method_21484 Lnet/minecraft/class_4423;method_21484()Ljava/lang/String;
        named getSlotName Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;getSlotName()Ljava/lang/String;
      • saveSettings

        private void saveSettings()
        Mappings:
        Namespace Name Mixin selector
        official i Ldsl;i()V
        intermediary method_21486 Lnet/minecraft/class_4423;method_21486()V
        named saveSettings Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;saveSettings()V