类 GameModeSelectionScreen

    • 字段详细资料

      • TEXTURE

        private static final Identifier TEXTURE
        Mappings:
        Namespace Name Mixin selector
        official a Leaa;a:Lwp;
        intermediary field_24566 Lnet/minecraft/class_5289;field_24566:Lnet/minecraft/class_2960;
        named TEXTURE Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;TEXTURE:Lnet/minecraft/util/Identifier;
      • field_32310

        private static final int field_32310
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official b Leaa;b:I
        intermediary field_32310 Lnet/minecraft/class_5289;field_32310:I
        named field_32310 Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;field_32310:I
      • field_32311

        private static final int field_32311
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official c Leaa;c:I
        intermediary field_32311 Lnet/minecraft/class_5289;field_32311:I
        named field_32311 Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;field_32311:I
      • field_32312

        private static final int field_32312
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official p Leaa;p:I
        intermediary field_32312 Lnet/minecraft/class_5289;field_32312:I
        named field_32312 Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;field_32312:I
      • field_32313

        private static final int field_32313
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official q Leaa;q:I
        intermediary field_32313 Lnet/minecraft/class_5289;field_32313:I
        named field_32313 Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;field_32313:I
      • field_32314

        private static final int field_32314
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official r Leaa;r:I
        intermediary field_32314 Lnet/minecraft/class_5289;field_32314:I
        named field_32314 Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;field_32314:I
      • field_32315

        private static final int field_32315
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official s Leaa;s:I
        intermediary field_32315 Lnet/minecraft/class_5289;field_32315:I
        named field_32315 Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;field_32315:I
      • UI_WIDTH

        private static final int UI_WIDTH
        Mappings:
        Namespace Name Mixin selector
        official t Leaa;t:I
        intermediary field_24567 Lnet/minecraft/class_5289;field_24567:I
        named UI_WIDTH Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;UI_WIDTH:I
      • SELECT_NEXT_TEXT

        private static final Text SELECT_NEXT_TEXT
        Mappings:
        Namespace Name Mixin selector
        official u Leaa;u:Lon;
        intermediary field_25454 Lnet/minecraft/class_5289;field_25454:Lnet/minecraft/class_2561;
        named SELECT_NEXT_TEXT Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;SELECT_NEXT_TEXT:Lnet/minecraft/text/Text;
      • currentGameMode

        private final Optional<GameModeSelectionScreen.GameMode> currentGameMode
        Mappings:
        Namespace Name Mixin selector
        official v Leaa;v:Ljava/util/Optional;
        intermediary field_24568 Lnet/minecraft/class_5289;field_24568:Ljava/util/Optional;
        named currentGameMode Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;currentGameMode:Ljava/util/Optional;
      • gameMode

        private Optional<GameModeSelectionScreen.GameMode> gameMode
        Mappings:
        Namespace Name Mixin selector
        official w Leaa;w:Ljava/util/Optional;
        intermediary field_24569 Lnet/minecraft/class_5289;field_24569:Ljava/util/Optional;
        named gameMode Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;gameMode:Ljava/util/Optional;
      • lastMouseX

        private int lastMouseX
        Mappings:
        Namespace Name Mixin selector
        official x Leaa;x:I
        intermediary field_24570 Lnet/minecraft/class_5289;field_24570:I
        named lastMouseX Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;lastMouseX:I
      • lastMouseY

        private int lastMouseY
        Mappings:
        Namespace Name Mixin selector
        official y Leaa;y:I
        intermediary field_24571 Lnet/minecraft/class_5289;field_24571:I
        named lastMouseY Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;lastMouseY:I
      • mouseUsedForSelection

        private boolean mouseUsedForSelection
        Mappings:
        Namespace Name Mixin selector
        official z Leaa;z:Z
        intermediary field_24572 Lnet/minecraft/class_5289;field_24572:Z
        named mouseUsedForSelection Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;mouseUsedForSelection:Z
      • gameModeButtons

        private final List<GameModeSelectionScreen.ButtonWidget> gameModeButtons
        Mappings:
        Namespace Name Mixin selector
        official A Leaa;A:Ljava/util/List;
        intermediary field_24573 Lnet/minecraft/class_5289;field_24573:Ljava/util/List;
        named gameModeButtons Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;gameModeButtons:Ljava/util/List;
    • 构造器详细资料

      • GameModeSelectionScreen

        public GameModeSelectionScreen()
    • 方法详细资料

      • getPreviousGameMode

        private GameMode getPreviousGameMode()
        Mappings:
        Namespace Name Mixin selector
        official i Leaa;i()Lbvo;
        intermediary method_30106 Lnet/minecraft/class_5289;method_30106()Lnet/minecraft/class_1934;
        named getPreviousGameMode Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;getPreviousGameMode()Lnet/minecraft/world/GameMode;
      • init

        protected 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
      • apply

        private void apply()
        Mappings:
        Namespace Name Mixin selector
        official k Leaa;k()V
        intermediary method_28068 Lnet/minecraft/class_5289;method_28068()V
        named apply Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;apply()V
      • apply

        private static void apply​(MinecraftClient client,
                                  Optional<GameModeSelectionScreen.GameMode> gameMode)
        Mappings:
        Namespace Name Mixin selector
        official a Leaa;a(Ldum;Ljava/util/Optional;)V
        intermediary method_28064 Lnet/minecraft/class_5289;method_28064(Lnet/minecraft/class_310;Ljava/util/Optional;)V
        named apply Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;apply(Lnet/minecraft/client/MinecraftClient;Ljava/util/Optional;)V
      • checkForClose

        private boolean checkForClose()
        Mappings:
        Namespace Name Mixin selector
        official l Leaa;l()Z
        intermediary method_28069 Lnet/minecraft/class_5289;method_28069()Z
        named checkForClose Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;checkForClose()Z
      • 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
      • isPauseScreen

        public boolean isPauseScreen()
        覆盖:
        isPauseScreen 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official aE_ Ldzg;aE_()Z
        intermediary method_25421 Lnet/minecraft/class_437;method_25421()Z
        named isPauseScreen Lnet/minecraft/client/gui/screen/Screen;isPauseScreen()Z