枚举 SkullBlock.Type
- java.lang.Object
-
- java.lang.Enum<SkullBlock.Type>
-
- net.minecraft.block.SkullBlock.Type
-
- 所有已实现的接口:
Serializable,Comparable<SkullBlock.Type>,SkullBlock.SkullType
- 封闭类:
- SkullBlock
public static enum SkullBlock.Type extends Enum<SkullBlock.Type> implements SkullBlock.SkullType
- Mappings:
Namespace Name official ceu$bintermediary net/minecraft/class_2484$class_2486named net/minecraft/block/SkullBlock$Type
-
-
构造器概要
构造器 限定符 构造器 说明 privateType()
-
-
-
枚举常量详细资料
-
SKELETON
public static final SkullBlock.Type SKELETON
- Mappings:
Namespace Name Mixin selector official aLceu$b;a:Lceu$b;intermediary field_11512Lnet/minecraft/class_2484$class_2486;field_11512:Lnet/minecraft/class_2484$class_2486;named SKELETONLnet/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 bLceu$b;b:Lceu$b;intermediary field_11513Lnet/minecraft/class_2484$class_2486;field_11513:Lnet/minecraft/class_2484$class_2486;named WITHER_SKELETONLnet/minecraft/block/SkullBlock$Type;WITHER_SKELETON:Lnet/minecraft/block/SkullBlock$Type;
-
PLAYER
public static final SkullBlock.Type PLAYER
- Mappings:
Namespace Name Mixin selector official cLceu$b;c:Lceu$b;intermediary field_11510Lnet/minecraft/class_2484$class_2486;field_11510:Lnet/minecraft/class_2484$class_2486;named PLAYERLnet/minecraft/block/SkullBlock$Type;PLAYER:Lnet/minecraft/block/SkullBlock$Type;
-
ZOMBIE
public static final SkullBlock.Type ZOMBIE
- Mappings:
Namespace Name Mixin selector official dLceu$b;d:Lceu$b;intermediary field_11508Lnet/minecraft/class_2484$class_2486;field_11508:Lnet/minecraft/class_2484$class_2486;named ZOMBIELnet/minecraft/block/SkullBlock$Type;ZOMBIE:Lnet/minecraft/block/SkullBlock$Type;
-
CREEPER
public static final SkullBlock.Type CREEPER
- Mappings:
Namespace Name Mixin selector official eLceu$b;e:Lceu$b;intermediary field_11507Lnet/minecraft/class_2484$class_2486;field_11507:Lnet/minecraft/class_2484$class_2486;named CREEPERLnet/minecraft/block/SkullBlock$Type;CREEPER:Lnet/minecraft/block/SkullBlock$Type;
-
DRAGON
public static final SkullBlock.Type DRAGON
- Mappings:
Namespace Name Mixin selector official fLceu$b;f:Lceu$b;intermediary field_11511Lnet/minecraft/class_2484$class_2486;field_11511:Lnet/minecraft/class_2484$class_2486;named DRAGONLnet/minecraft/block/SkullBlock$Type;DRAGON:Lnet/minecraft/block/SkullBlock$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- 如果参数为空值
-
-