枚举 SkullBlock.Type

    • 枚举常量详细资料

      • SKELETON

        public static final SkullBlock.Type SKELETON
        Mappings:
        Namespace Name Mixin selector
        official a Lceu$b;a:Lceu$b;
        intermediary field_11512 Lnet/minecraft/class_2484$class_2486;field_11512:Lnet/minecraft/class_2484$class_2486;
        named SKELETON Lnet/minecraft/block/SkullBlock$Type;SKELETON:Lnet/minecraft/block/SkullBlock$Type;
      • WITHER_SKELETON

        public static final SkullBlock.Type WITHER_SKELETON
        Mappings:
        Namespace Name Mixin selector
        official b Lceu$b;b:Lceu$b;
        intermediary field_11513 Lnet/minecraft/class_2484$class_2486;field_11513:Lnet/minecraft/class_2484$class_2486;
        named WITHER_SKELETON Lnet/minecraft/block/SkullBlock$Type;WITHER_SKELETON:Lnet/minecraft/block/SkullBlock$Type;
      • PLAYER

        public static final SkullBlock.Type PLAYER
        Mappings:
        Namespace Name Mixin selector
        official c Lceu$b;c:Lceu$b;
        intermediary field_11510 Lnet/minecraft/class_2484$class_2486;field_11510:Lnet/minecraft/class_2484$class_2486;
        named PLAYER Lnet/minecraft/block/SkullBlock$Type;PLAYER:Lnet/minecraft/block/SkullBlock$Type;
      • ZOMBIE

        public static final SkullBlock.Type ZOMBIE
        Mappings:
        Namespace Name Mixin selector
        official d Lceu$b;d:Lceu$b;
        intermediary field_11508 Lnet/minecraft/class_2484$class_2486;field_11508:Lnet/minecraft/class_2484$class_2486;
        named ZOMBIE Lnet/minecraft/block/SkullBlock$Type;ZOMBIE:Lnet/minecraft/block/SkullBlock$Type;
      • CREEPER

        public static final SkullBlock.Type CREEPER
        Mappings:
        Namespace Name Mixin selector
        official e Lceu$b;e:Lceu$b;
        intermediary field_11507 Lnet/minecraft/class_2484$class_2486;field_11507:Lnet/minecraft/class_2484$class_2486;
        named CREEPER Lnet/minecraft/block/SkullBlock$Type;CREEPER:Lnet/minecraft/block/SkullBlock$Type;
      • DRAGON

        public static final SkullBlock.Type DRAGON
        Mappings:
        Namespace Name Mixin selector
        official f Lceu$b;f:Lceu$b;
        intermediary field_11511 Lnet/minecraft/class_2484$class_2486;field_11511:Lnet/minecraft/class_2484$class_2486;
        named DRAGON Lnet/minecraft/block/SkullBlock$Type;DRAGON:Lnet/minecraft/block/SkullBlock$Type;
    • 构造器详细资料

      • Type

        private Type()
    • 方法详细资料

      • values

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

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