Enum Class ChickenVariant.Model

java.lang.Object
java.lang.Enum<ChickenVariant.Model>
net.minecraft.entity.passive.ChickenVariant.Model
All Implemented Interfaces:
Serializable, Comparable<ChickenVariant.Model>, Constable, StringIdentifiable
Enclosing class:
ChickenVariant

public static enum ChickenVariant.Model extends Enum<ChickenVariant.Model> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/entity/passive/ChickenVariant$Model
intermediary net/minecraft/class_10756$class_10757
official cmk$a
  • Enum Constant Details

    • NORMAL

      public static final ChickenVariant.Model NORMAL
      Mappings:
      Namespace Name Mixin selector
      named NORMAL Lnet/minecraft/entity/passive/ChickenVariant$Model;NORMAL:Lnet/minecraft/entity/passive/ChickenVariant$Model;
      intermediary field_56542 Lnet/minecraft/class_10756$class_10757;field_56542:Lnet/minecraft/class_10756$class_10757;
      official a Lcmk$a;a:Lcmk$a;
    • COLD

      public static final ChickenVariant.Model COLD
      Mappings:
      Namespace Name Mixin selector
      named COLD Lnet/minecraft/entity/passive/ChickenVariant$Model;COLD:Lnet/minecraft/entity/passive/ChickenVariant$Model;
      intermediary field_56543 Lnet/minecraft/class_10756$class_10757;field_56543:Lnet/minecraft/class_10756$class_10757;
      official b Lcmk$a;b:Lcmk$a;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<ChickenVariant.Model> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/entity/passive/ChickenVariant$Model;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_56544 Lnet/minecraft/class_10756$class_10757;field_56544:Lcom/mojang/serialization/Codec;
      official c Lcmk$a;c:Lcom/mojang/serialization/Codec;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/entity/passive/ChickenVariant$Model;id:Ljava/lang/String;
      intermediary field_56545 Lnet/minecraft/class_10756$class_10757;field_56545:Ljava/lang/String;
      official d Lcmk$a;d:Ljava/lang/String;
  • Constructor Details

    • Model

      private Model(String id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/ChickenVariant$Model;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_10756$class_10757;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lcmk$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static ChickenVariant.Model[] 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 ChickenVariant.Model 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 Lbda;c()Ljava/lang/String;