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 official dhd$bintermediary net/minecraft/class_2484$class_2486named net/minecraft/block/SkullBlock$Type
-
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 official cLdhd$b;c:Ldhd$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
- Mappings:
Namespace Name Mixin selector official dLdhd$b;d:Ldhd$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
- Mappings:
Namespace Name Mixin selector official eLdhd$b;e:Ldhd$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
- Mappings:
Namespace Name Mixin selector official fLdhd$b;f:Ldhd$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
- Mappings:
Namespace Name Mixin selector official gLdhd$b;g:Ldhd$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;
-
PIGLIN
- Mappings:
Namespace Name Mixin selector official hLdhd$b;h:Ldhd$b;intermediary field_41313Lnet/minecraft/class_2484$class_2486;field_41313:Lnet/minecraft/class_2484$class_2486;named PIGLINLnet/minecraft/block/SkullBlock$Type;PIGLIN:Lnet/minecraft/block/SkullBlock$Type;
-
DRAGON
- Mappings:
Namespace Name Mixin selector official iLdhd$b;i:Ldhd$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;
-
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official jLdhd$b;j:Ljava/lang/String;intermediary field_46444Lnet/minecraft/class_2484$class_2486;field_46444:Ljava/lang/String;named idLnet/minecraft/block/SkullBlock$Type;id:Ljava/lang/String;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>Ldhd$b;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2484$class_2486;<init>(Ljava/lang/String;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/block/SkullBlock$Type;<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 official cLaxq;c()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-