枚举 TutorialToast.Type

    • 枚举常量详细资料

      • MOVEMENT_KEYS

        public static final TutorialToast.Type MOVEMENT_KEYS
        Mappings:
        Namespace Name Mixin selector
        official a Ldxf$a;a:Ldxf$a;
        intermediary field_2230 Lnet/minecraft/class_372$class_373;field_2230:Lnet/minecraft/class_372$class_373;
        named MOVEMENT_KEYS Lnet/minecraft/client/toast/TutorialToast$Type;MOVEMENT_KEYS:Lnet/minecraft/client/toast/TutorialToast$Type;
      • MOUSE

        public static final TutorialToast.Type MOUSE
        Mappings:
        Namespace Name Mixin selector
        official b Ldxf$a;b:Ldxf$a;
        intermediary field_2237 Lnet/minecraft/class_372$class_373;field_2237:Lnet/minecraft/class_372$class_373;
        named MOUSE Lnet/minecraft/client/toast/TutorialToast$Type;MOUSE:Lnet/minecraft/client/toast/TutorialToast$Type;
      • TREE

        public static final TutorialToast.Type TREE
        Mappings:
        Namespace Name Mixin selector
        official c Ldxf$a;c:Ldxf$a;
        intermediary field_2235 Lnet/minecraft/class_372$class_373;field_2235:Lnet/minecraft/class_372$class_373;
        named TREE Lnet/minecraft/client/toast/TutorialToast$Type;TREE:Lnet/minecraft/client/toast/TutorialToast$Type;
      • RECIPE_BOOK

        public static final TutorialToast.Type RECIPE_BOOK
        Mappings:
        Namespace Name Mixin selector
        official d Ldxf$a;d:Ldxf$a;
        intermediary field_2233 Lnet/minecraft/class_372$class_373;field_2233:Lnet/minecraft/class_372$class_373;
        named RECIPE_BOOK Lnet/minecraft/client/toast/TutorialToast$Type;RECIPE_BOOK:Lnet/minecraft/client/toast/TutorialToast$Type;
      • WOODEN_PLANKS

        public static final TutorialToast.Type WOODEN_PLANKS
        Mappings:
        Namespace Name Mixin selector
        official e Ldxf$a;e:Ldxf$a;
        intermediary field_2236 Lnet/minecraft/class_372$class_373;field_2236:Lnet/minecraft/class_372$class_373;
        named WOODEN_PLANKS Lnet/minecraft/client/toast/TutorialToast$Type;WOODEN_PLANKS:Lnet/minecraft/client/toast/TutorialToast$Type;
      • SOCIAL_INTERACTIONS

        public static final TutorialToast.Type SOCIAL_INTERACTIONS
        Mappings:
        Namespace Name Mixin selector
        official f Ldxf$a;f:Ldxf$a;
        intermediary field_26848 Lnet/minecraft/class_372$class_373;field_26848:Lnet/minecraft/class_372$class_373;
        named SOCIAL_INTERACTIONS Lnet/minecraft/client/toast/TutorialToast$Type;SOCIAL_INTERACTIONS:Lnet/minecraft/client/toast/TutorialToast$Type;
      • RIGHT_CLICK

        public static final TutorialToast.Type RIGHT_CLICK
        Mappings:
        Namespace Name Mixin selector
        official g Ldxf$a;g:Ldxf$a;
        intermediary field_28782 Lnet/minecraft/class_372$class_373;field_28782:Lnet/minecraft/class_372$class_373;
        named RIGHT_CLICK Lnet/minecraft/client/toast/TutorialToast$Type;RIGHT_CLICK:Lnet/minecraft/client/toast/TutorialToast$Type;
    • 字段详细资料

      • textureSlotX

        private final int textureSlotX
        Mappings:
        Namespace Name Mixin selector
        official h Ldxf$a;h:I
        intermediary field_2232 Lnet/minecraft/class_372$class_373;field_2232:I
        named textureSlotX Lnet/minecraft/client/toast/TutorialToast$Type;textureSlotX:I
      • textureSlotY

        private final int textureSlotY
        Mappings:
        Namespace Name Mixin selector
        official i Ldxf$a;i:I
        intermediary field_2231 Lnet/minecraft/class_372$class_373;field_2231:I
        named textureSlotY Lnet/minecraft/client/toast/TutorialToast$Type;textureSlotY:I
    • 构造器详细资料

      • Type

        private Type​(int textureSlotX,
                     int textureSlotY)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldxf$a;<init>(Ljava/lang/String;III)V
        intermediary <init> Lnet/minecraft/class_372$class_373;<init>(Ljava/lang/String;III)V
        named <init> Lnet/minecraft/client/toast/TutorialToast$Type;<init>(Ljava/lang/String;III)V
    • 方法详细资料

      • values

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

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

        public void drawIcon​(MatrixStack matrices,
                             DrawableHelper helper,
                             int x,
                             int y)
        Mappings:
        Namespace Name Mixin selector
        official a Ldxf$a;a(Ldpi;Ldvj;II)V
        intermediary method_1994 Lnet/minecraft/class_372$class_373;method_1994(Lnet/minecraft/class_4587;Lnet/minecraft/class_332;II)V
        named drawIcon Lnet/minecraft/client/toast/TutorialToast$Type;drawIcon(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/gui/DrawableHelper;II)V