Package net.minecraft.block
Enum Class SkullBlock.Type
- All Implemented Interfaces:
Serializable,Comparable<SkullBlock.Type>,Constable,SkullBlock.SkullType,StringIdentifiable
- Enclosing class:
SkullBlock
- Mappings:
Namespace Name named net/minecraft/block/SkullBlock$Typeintermediary net/minecraft/class_2484$class_2486official dnb$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsFields inherited from interface net.minecraft.block.SkullBlock.SkullType
CODEC, TYPESFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.static SkullBlock.TypeReturns the enum constant of this class with the specified name.static SkullBlock.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SKELETON
- Mappings:
Namespace Name Mixin selector named SKELETONLnet/minecraft/block/SkullBlock$Type;SKELETON:Lnet/minecraft/block/SkullBlock$Type;intermediary field_11512Lnet/minecraft/class_2484$class_2486;field_11512:Lnet/minecraft/class_2484$class_2486;official cLdnb$b;c:Ldnb$b;
-
WITHER_SKELETON
- Mappings:
Namespace Name Mixin selector named WITHER_SKELETONLnet/minecraft/block/SkullBlock$Type;WITHER_SKELETON:Lnet/minecraft/block/SkullBlock$Type;intermediary field_11513Lnet/minecraft/class_2484$class_2486;field_11513:Lnet/minecraft/class_2484$class_2486;official dLdnb$b;d:Ldnb$b;
-
PLAYER
- Mappings:
Namespace Name Mixin selector named PLAYERLnet/minecraft/block/SkullBlock$Type;PLAYER:Lnet/minecraft/block/SkullBlock$Type;intermediary field_11510Lnet/minecraft/class_2484$class_2486;field_11510:Lnet/minecraft/class_2484$class_2486;official eLdnb$b;e:Ldnb$b;
-
ZOMBIE
- Mappings:
Namespace Name Mixin selector named ZOMBIELnet/minecraft/block/SkullBlock$Type;ZOMBIE:Lnet/minecraft/block/SkullBlock$Type;intermediary field_11508Lnet/minecraft/class_2484$class_2486;field_11508:Lnet/minecraft/class_2484$class_2486;official fLdnb$b;f:Ldnb$b;
-
CREEPER
- Mappings:
Namespace Name Mixin selector named CREEPERLnet/minecraft/block/SkullBlock$Type;CREEPER:Lnet/minecraft/block/SkullBlock$Type;intermediary field_11507Lnet/minecraft/class_2484$class_2486;field_11507:Lnet/minecraft/class_2484$class_2486;official gLdnb$b;g:Ldnb$b;
-
PIGLIN
- Mappings:
Namespace Name Mixin selector named PIGLINLnet/minecraft/block/SkullBlock$Type;PIGLIN:Lnet/minecraft/block/SkullBlock$Type;intermediary field_41313Lnet/minecraft/class_2484$class_2486;field_41313:Lnet/minecraft/class_2484$class_2486;official hLdnb$b;h:Ldnb$b;
-
DRAGON
- Mappings:
Namespace Name Mixin selector named DRAGONLnet/minecraft/block/SkullBlock$Type;DRAGON:Lnet/minecraft/block/SkullBlock$Type;intermediary field_11511Lnet/minecraft/class_2484$class_2486;field_11511:Lnet/minecraft/class_2484$class_2486;official iLdnb$b;i:Ldnb$b;
-
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/block/SkullBlock$Type;id:Ljava/lang/String;intermediary field_46444Lnet/minecraft/class_2484$class_2486;field_46444:Ljava/lang/String;official jLdnb$b;j:Ljava/lang/String;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/SkullBlock$Type;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2484$class_2486;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Ldnb$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLazk;c()Ljava/lang/String;
-