类 GameModeSelectionScreen.ButtonWidget

    • 字段详细资料

      • gameMode

        private final GameModeSelectionScreen.GameMode gameMode
        Mappings:
        Namespace Name Mixin selector
        official b Leaa$b;b:Leaa$a;
        intermediary field_24586 Lnet/minecraft/class_5289$class_5291;field_24586:Lnet/minecraft/class_5289$class_5290;
        named gameMode Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;gameMode:Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameMode;
      • selected

        private boolean selected
        Mappings:
        Namespace Name Mixin selector
        official c Leaa$b;c:Z
        intermediary field_24587 Lnet/minecraft/class_5289$class_5291;field_24587:Z
        named selected Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;selected:Z
    • 构造器详细资料

      • ButtonWidget

        public ButtonWidget​(GameModeSelectionScreen.GameMode gameMode,
                            int x,
                            int y)
        Mappings:
        Namespace Name Mixin selector
        official <init> Leaa$b;<init>(Leaa;Leaa$a;II)V
        intermediary <init> Lnet/minecraft/class_5289$class_5291;<init>(Lnet/minecraft/class_5289;Lnet/minecraft/class_5289$class_5290;II)V
        named <init> Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;<init>(Lnet/minecraft/client/gui/screen/GameModeSelectionScreen;Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$GameMode;II)V
    • 方法详细资料

      • renderButton

        public void renderButton​(MatrixStack matrices,
                                 int mouseX,
                                 int mouseY,
                                 float delta)
        覆盖:
        renderButton 在类中 AbstractButtonWidget
        Mappings:
        Namespace Name Mixin selector
        official b Ldvu;b(Ldpi;IIF)V
        intermediary method_25359 Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)V
        named renderButton Lnet/minecraft/client/gui/widget/AbstractButtonWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
      • isHovered

        public boolean isHovered()
        覆盖:
        isHovered 在类中 AbstractButtonWidget
        Mappings:
        Namespace Name Mixin selector
        official g Ldvu;g()Z
        intermediary method_25367 Lnet/minecraft/class_339;method_25367()Z
        named isHovered Lnet/minecraft/client/gui/widget/AbstractButtonWidget;isHovered()Z
      • setSelected

        public void setSelected​(boolean selected)
        Mappings:
        Namespace Name Mixin selector
        official e Leaa$b;e(Z)V
        intermediary method_28083 Lnet/minecraft/class_5289$class_5291;method_28083(Z)V
        named setSelected Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;setSelected(Z)V
      • drawBackground

        private void drawBackground​(MatrixStack matrices,
                                    TextureManager textureManager)
        Mappings:
        Namespace Name Mixin selector
        official a Leaa$b;a(Ldpi;Lewe;)V
        intermediary method_28080 Lnet/minecraft/class_5289$class_5291;method_28080(Lnet/minecraft/class_4587;Lnet/minecraft/class_1060;)V
        named drawBackground Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;drawBackground(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/texture/TextureManager;)V
      • drawSelectionBox

        private void drawSelectionBox​(MatrixStack matrices,
                                      TextureManager textureManager)
        Mappings:
        Namespace Name Mixin selector
        official b Leaa$b;b(Ldpi;Lewe;)V
        intermediary method_28082 Lnet/minecraft/class_5289$class_5291;method_28082(Lnet/minecraft/class_4587;Lnet/minecraft/class_1060;)V
        named drawSelectionBox Lnet/minecraft/client/gui/screen/GameModeSelectionScreen$ButtonWidget;drawSelectionBox(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/texture/TextureManager;)V