枚举 AdvancementTabType

    • 枚举常量详细资料

      • ABOVE

        public static final AdvancementTabType ABOVE
        Mappings:
        Namespace Name Mixin selector
        official a Ldzs;a:Ldzs;
        intermediary field_2678 Lnet/minecraft/class_453;field_2678:Lnet/minecraft/class_453;
        named ABOVE Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;ABOVE:Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;
      • BELOW

        public static final AdvancementTabType BELOW
        Mappings:
        Namespace Name Mixin selector
        official b Ldzs;b:Ldzs;
        intermediary field_2673 Lnet/minecraft/class_453;field_2673:Lnet/minecraft/class_453;
        named BELOW Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;BELOW:Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;
      • LEFT

        public static final AdvancementTabType LEFT
        Mappings:
        Namespace Name Mixin selector
        official c Ldzs;c:Ldzs;
        intermediary field_2675 Lnet/minecraft/class_453;field_2675:Lnet/minecraft/class_453;
        named LEFT Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;LEFT:Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;
      • RIGHT

        public static final AdvancementTabType RIGHT
        Mappings:
        Namespace Name Mixin selector
        official d Ldzs;d:Ldzs;
        intermediary field_2677 Lnet/minecraft/class_453;field_2677:Lnet/minecraft/class_453;
        named RIGHT Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;RIGHT:Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;
    • 字段详细资料

      • u

        private final int u
        Mappings:
        Namespace Name Mixin selector
        official e Ldzs;e:I
        intermediary field_2674 Lnet/minecraft/class_453;field_2674:I
        named u Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;u:I
      • v

        private final int v
        Mappings:
        Namespace Name Mixin selector
        official f Ldzs;f:I
        intermediary field_2672 Lnet/minecraft/class_453;field_2672:I
        named v Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;v:I
      • width

        private final int width
        Mappings:
        Namespace Name Mixin selector
        official g Ldzs;g:I
        intermediary field_2671 Lnet/minecraft/class_453;field_2671:I
        named width Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;width:I
      • height

        private final int height
        Mappings:
        Namespace Name Mixin selector
        official h Ldzs;h:I
        intermediary field_2670 Lnet/minecraft/class_453;field_2670:I
        named height Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;height:I
      • tabCount

        private final int tabCount
        Mappings:
        Namespace Name Mixin selector
        official i Ldzs;i:I
        intermediary field_2669 Lnet/minecraft/class_453;field_2669:I
        named tabCount Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;tabCount:I
    • 构造器详细资料

      • AdvancementTabType

        private AdvancementTabType​(int u,
                                   int v,
                                   int width,
                                   int height,
                                   int tabCount)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldzs;<init>(Ljava/lang/String;IIIIII)V
        intermediary <init> Lnet/minecraft/class_453;<init>(Ljava/lang/String;IIIIII)V
        named <init> Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;<init>(Ljava/lang/String;IIIIII)V
    • 方法详细资料

      • values

        public static AdvancementTabType[] values()
        按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
        for (AdvancementTabType c : AdvancementTabType.values())
            System.out.println(c);
        
        返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
      • valueOf

        public static AdvancementTabType valueOf​(String name)
        返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
        参数:
        name - 要返回的枚举常量的名称。
        返回:
        返回带有指定名称的枚举常量
        抛出:
        IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
        NullPointerException - 如果参数为空值
      • getTabCount

        public int getTabCount()
        Mappings:
        Namespace Name Mixin selector
        official a Ldzs;a()I
        intermediary method_2304 Lnet/minecraft/class_453;method_2304()I
        named getTabCount Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;getTabCount()I
      • drawBackground

        public void drawBackground​(MatrixStack matrices,
                                   DrawableHelper drawableHelper,
                                   int int2,
                                   int int3,
                                   boolean bool,
                                   int int4)
        Mappings:
        Namespace Name Mixin selector
        official a Ldzs;a(Ldpi;Ldvj;IIZI)V
        intermediary method_2301 Lnet/minecraft/class_453;method_2301(Lnet/minecraft/class_4587;Lnet/minecraft/class_332;IIZI)V
        named drawBackground Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;drawBackground(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/gui/DrawableHelper;IIZI)V
      • drawIcon

        public void drawIcon​(int x,
                             int y,
                             int index,
                             ItemRenderer itemRenderer,
                             ItemStack icon)
        Mappings:
        Namespace Name Mixin selector
        official a Ldzs;a(IIILero;Lbpr;)V
        intermediary method_2306 Lnet/minecraft/class_453;method_2306(IIILnet/minecraft/class_918;Lnet/minecraft/class_1799;)V
        named drawIcon Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;drawIcon(IIILnet/minecraft/client/render/item/ItemRenderer;Lnet/minecraft/item/ItemStack;)V
      • getTabX

        public int getTabX​(int index)
        Mappings:
        Namespace Name Mixin selector
        official a Ldzs;a(I)I
        intermediary method_2302 Lnet/minecraft/class_453;method_2302(I)I
        named getTabX Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;getTabX(I)I
      • getTabY

        public int getTabY​(int index)
        Mappings:
        Namespace Name Mixin selector
        official b Ldzs;b(I)I
        intermediary method_2305 Lnet/minecraft/class_453;method_2305(I)I
        named getTabY Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;getTabY(I)I
      • isClickOnTab

        public boolean isClickOnTab​(int screenX,
                                    int screenY,
                                    int index,
                                    double mouseX,
                                    double mouseY)
        Mappings:
        Namespace Name Mixin selector
        official a Ldzs;a(IIIDD)Z
        intermediary method_2303 Lnet/minecraft/class_453;method_2303(IIIDD)Z
        named isClickOnTab Lnet/minecraft/client/gui/screen/advancement/AdvancementTabType;isClickOnTab(IIIDD)Z