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 ddr$b
intermediary net/minecraft/class_2484$class_2486
named 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
-
Field Summary
Fields inherited from interface net.minecraft.block.SkullBlock.SkullType
CODEC, TYPES
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static SkullBlock.Type
Returns 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 c
Lddr$b;c:Lddr$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
- Mappings:
Namespace Name Mixin selector official d
Lddr$b;d:Lddr$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
- Mappings:
Namespace Name Mixin selector official e
Lddr$b;e:Lddr$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
- Mappings:
Namespace Name Mixin selector official f
Lddr$b;f:Lddr$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
- Mappings:
Namespace Name Mixin selector official g
Lddr$b;g:Lddr$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;
-
PIGLIN
- Mappings:
Namespace Name Mixin selector official h
Lddr$b;h:Lddr$b;
intermediary field_41313
Lnet/minecraft/class_2484$class_2486;field_41313:Lnet/minecraft/class_2484$class_2486;
named PIGLIN
Lnet/minecraft/block/SkullBlock$Type;PIGLIN:Lnet/minecraft/block/SkullBlock$Type;
-
DRAGON
- Mappings:
Namespace Name Mixin selector official i
Lddr$b;i:Lddr$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;
-
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector official j
Lddr$b;j:Ljava/lang/String;
intermediary field_46444
Lnet/minecraft/class_2484$class_2486;field_46444:Ljava/lang/String;
named id
Lnet/minecraft/block/SkullBlock$Type;id:Ljava/lang/String;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>
Lddr$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_2484$class_2486;<init>(Ljava/lang/String;ILjava/lang/String;)V
named <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:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector official c
Lavk;c()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-