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 dnb$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 Ldnb$b;c:Ldnb$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 Ldnb$b;d:Ldnb$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 Ldnb$b;e:Ldnb$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 Ldnb$b;f:Ldnb$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 Ldnb$b;g:Ldnb$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 Ldnb$b;h:Ldnb$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 Ldnb$b;i:Ldnb$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 Ldnb$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> Ldnb$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 Lazk;c()Ljava/lang/String;