Enum Class CowVariant.Model

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

public static enum CowVariant.Model extends Enum<CowVariant.Model> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/entity/passive/CowVariant$Model
intermediary net/minecraft/class_10731$class_10732
official ckg$a
  • Enum Constant Details Link icon

    • NORMAL Link icon

      public static final CowVariant.Model NORMAL
      Mappings:
      Namespace Name Mixin selector
      named NORMAL Lnet/minecraft/entity/passive/CowVariant$Model;NORMAL:Lnet/minecraft/entity/passive/CowVariant$Model;
      intermediary field_56429 Lnet/minecraft/class_10731$class_10732;field_56429:Lnet/minecraft/class_10731$class_10732;
      official a Lckg$a;a:Lckg$a;
    • COLD Link icon

      public static final CowVariant.Model COLD
      Mappings:
      Namespace Name Mixin selector
      named COLD Lnet/minecraft/entity/passive/CowVariant$Model;COLD:Lnet/minecraft/entity/passive/CowVariant$Model;
      intermediary field_56430 Lnet/minecraft/class_10731$class_10732;field_56430:Lnet/minecraft/class_10731$class_10732;
      official b Lckg$a;b:Lckg$a;
    • WARM Link icon

      public static final CowVariant.Model WARM
      Mappings:
      Namespace Name Mixin selector
      named WARM Lnet/minecraft/entity/passive/CowVariant$Model;WARM:Lnet/minecraft/entity/passive/CowVariant$Model;
      intermediary field_56431 Lnet/minecraft/class_10731$class_10732;field_56431:Lnet/minecraft/class_10731$class_10732;
      official c Lckg$a;c:Lckg$a;
  • Field Details Link icon

    • CODEC Link icon

      public static final com.mojang.serialization.Codec<CowVariant.Model> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/entity/passive/CowVariant$Model;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_56432 Lnet/minecraft/class_10731$class_10732;field_56432:Lcom/mojang/serialization/Codec;
      official d Lckg$a;d:Lcom/mojang/serialization/Codec;
    • id Link icon

      private final String id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/entity/passive/CowVariant$Model;id:Ljava/lang/String;
      intermediary field_56433 Lnet/minecraft/class_10731$class_10732;field_56433:Ljava/lang/String;
      official e Lckg$a;e: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/CowVariant$Model;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_10731$class_10732;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lckg$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details Link icon

    • values Link icon

      public static CowVariant.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 CowVariant.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;