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$Type
intermediary net/minecraft/class_2484$class_2486
official dmd$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
-
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 named SKELETON
Lnet/minecraft/block/SkullBlock$Type;SKELETON:Lnet/minecraft/block/SkullBlock$Type;
intermediary field_11512
Lnet/minecraft/class_2484$class_2486;field_11512:Lnet/minecraft/class_2484$class_2486;
official c
Ldmd$b;c:Ldmd$b;
-
WITHER_SKELETON
- Mappings:
Namespace Name Mixin selector named WITHER_SKELETON
Lnet/minecraft/block/SkullBlock$Type;WITHER_SKELETON:Lnet/minecraft/block/SkullBlock$Type;
intermediary field_11513
Lnet/minecraft/class_2484$class_2486;field_11513:Lnet/minecraft/class_2484$class_2486;
official d
Ldmd$b;d:Ldmd$b;
-
PLAYER
- Mappings:
Namespace Name Mixin selector named PLAYER
Lnet/minecraft/block/SkullBlock$Type;PLAYER:Lnet/minecraft/block/SkullBlock$Type;
intermediary field_11510
Lnet/minecraft/class_2484$class_2486;field_11510:Lnet/minecraft/class_2484$class_2486;
official e
Ldmd$b;e:Ldmd$b;
-
ZOMBIE
- Mappings:
Namespace Name Mixin selector named ZOMBIE
Lnet/minecraft/block/SkullBlock$Type;ZOMBIE:Lnet/minecraft/block/SkullBlock$Type;
intermediary field_11508
Lnet/minecraft/class_2484$class_2486;field_11508:Lnet/minecraft/class_2484$class_2486;
official f
Ldmd$b;f:Ldmd$b;
-
CREEPER
- Mappings:
Namespace Name Mixin selector named CREEPER
Lnet/minecraft/block/SkullBlock$Type;CREEPER:Lnet/minecraft/block/SkullBlock$Type;
intermediary field_11507
Lnet/minecraft/class_2484$class_2486;field_11507:Lnet/minecraft/class_2484$class_2486;
official g
Ldmd$b;g:Ldmd$b;
-
PIGLIN
- Mappings:
Namespace Name Mixin selector named PIGLIN
Lnet/minecraft/block/SkullBlock$Type;PIGLIN:Lnet/minecraft/block/SkullBlock$Type;
intermediary field_41313
Lnet/minecraft/class_2484$class_2486;field_41313:Lnet/minecraft/class_2484$class_2486;
official h
Ldmd$b;h:Ldmd$b;
-
DRAGON
- Mappings:
Namespace Name Mixin selector named DRAGON
Lnet/minecraft/block/SkullBlock$Type;DRAGON:Lnet/minecraft/block/SkullBlock$Type;
intermediary field_11511
Lnet/minecraft/class_2484$class_2486;field_11511:Lnet/minecraft/class_2484$class_2486;
official i
Ldmd$b;i:Ldmd$b;
-
-
Field Details
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/block/SkullBlock$Type;id:Ljava/lang/String;
intermediary field_46444
Lnet/minecraft/class_2484$class_2486;field_46444:Ljava/lang/String;
official j
Ldmd$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;)V
intermediary <init>
Lnet/minecraft/class_2484$class_2486;<init>(Ljava/lang/String;ILjava/lang/String;)V
official <init>
Ldmd$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:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
official c
Lazu;c()Ljava/lang/String;
-