Enum Class Model

java.lang.Object
java.lang.Enum<Model>
net.minecraft.client.util.Model
All Implemented Interfaces:
Serializable, Comparable<Model>, Constable, StringIdentifiable

public enum Model extends Enum<Model> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/client/util/Model
intermediary net/minecraft/class_7920
official cys
  • Enum Constant Details

    • SLIM

      public static final Model SLIM
      Mappings:
      Namespace Name Mixin selector
      named SLIM Lnet/minecraft/client/util/Model;SLIM:Lnet/minecraft/client/util/Model;
      intermediary field_41122 Lnet/minecraft/class_7920;field_41122:Lnet/minecraft/class_7920;
      official a Lcys;a:Lcys;
    • WIDE

      public static final Model WIDE
      Mappings:
      Namespace Name Mixin selector
      named WIDE Lnet/minecraft/client/util/Model;WIDE:Lnet/minecraft/client/util/Model;
      intermediary field_41123 Lnet/minecraft/class_7920;field_41123:Lnet/minecraft/class_7920;
      official b Lcys;b:Lcys;
  • Field Details

    • field_62533

      public static final StringIdentifiable.EnumCodec<Model> field_62533
      Mappings:
      Namespace Name Mixin selector
      named field_62533 Lnet/minecraft/client/util/Model;field_62533:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
      intermediary field_62533 Lnet/minecraft/class_7920;field_62533:Lnet/minecraft/class_3542$class_7292;
      official c Lcys;c:Lbgd$a;
    • field_62534

      public static final PacketCodec<ByteBuf,Model> field_62534
      Mappings:
      Namespace Name Mixin selector
      named field_62534 Lnet/minecraft/client/util/Model;field_62534:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_62534 Lnet/minecraft/class_7920;field_62534:Lnet/minecraft/class_9139;
      official d Lcys;d:Laae;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/util/Model;name:Ljava/lang/String;
      intermediary field_41124 Lnet/minecraft/class_7920;field_41124:Ljava/lang/String;
      official e Lcys;e:Ljava/lang/String;
  • Constructor Details

    • Model

      private Model(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/util/Model;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7920;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lcys;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static 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 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
    • fromName

      public static Model fromName(@Nullable @Nullable String name)
      Mappings:
      Namespace Name Mixin selector
      named fromName Lnet/minecraft/client/util/Model;fromName(Ljava/lang/String;)Lnet/minecraft/client/util/Model;
      intermediary method_52857 Lnet/minecraft/class_7920;method_52857(Ljava/lang/String;)Lnet/minecraft/class_7920;
      official a Lcys;a(Ljava/lang/String;)Lcys;
    • 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 Lbgd;c()Ljava/lang/String;