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 ckc$a
  • Enum Constant Details Link icon

    • NORMAL Link icon

      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 Lckc$a;a:Lckc$a;
    • COLD Link icon

      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 Lckc$a;b:Lckc$a;
  • Field Details Link icon

    • CODEC Link icon

      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 Lckc$a;c:Lcom/mojang/serialization/Codec;
    • id Link icon

      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 Lckc$a;d:Ljava/lang/String;
  • Constructor Details Link icon

    • Model Link icon

      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> Lckc$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details Link icon

    • values Link icon

      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 Link icon

      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 Link icon

      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 Lbax;c()Ljava/lang/String;