Enum Class SkullBlock.Type

java.lang.Object
java.lang.Enum<SkullBlock.Type>
net.minecraft.block.SkullBlock.Type
All Implemented Interfaces:
Serializable, Comparable<SkullBlock.Type>, Constable, SkullBlock.SkullType, StringIdentifiable
Enclosing class:
SkullBlock

public static enum SkullBlock.Type extends Enum<SkullBlock.Type> implements SkullBlock.SkullType
Mappings:
Namespace Name
named net/minecraft/block/SkullBlock$Type
intermediary net/minecraft/class_2484$class_2486
official drq$b
  • Enum Constant Details

    • SKELETON

      public static final SkullBlock.Type 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 Ldrq$b;c:Ldrq$b;
    • WITHER_SKELETON

      public static final SkullBlock.Type 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 Ldrq$b;d:Ldrq$b;
    • PLAYER

      public static final SkullBlock.Type 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 Ldrq$b;e:Ldrq$b;
    • ZOMBIE

      public static final SkullBlock.Type 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 Ldrq$b;f:Ldrq$b;
    • CREEPER

      public static final SkullBlock.Type 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 Ldrq$b;g:Ldrq$b;
    • PIGLIN

      public static final SkullBlock.Type 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 Ldrq$b;h:Ldrq$b;
    • DRAGON

      public static final SkullBlock.Type 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 Ldrq$b;i:Ldrq$b;
  • Field Details

    • id

      private final String 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 Ldrq$b;j:Ljava/lang/String;
  • Constructor Details

    • Type

      private Type(String id)
      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> Ldrq$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static SkullBlock.Type[] 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

      public static SkullBlock.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      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 Lbba;c()Ljava/lang/String;