Package net.minecraft.client.util
Enum Class Model
- All Implemented Interfaces:
Serializable,Comparable<Model>,Constable,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/client/util/Modelintermediary net/minecraft/class_7920official cys
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec<Model> private final Stringstatic final PacketCodec<ByteBuf, Model> Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.static Modelstatic ModelReturns the enum constant of this class with the specified name.static Model[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SLIM
- Mappings:
Namespace Name Mixin selector named SLIMLnet/minecraft/client/util/Model;SLIM:Lnet/minecraft/client/util/Model;intermediary field_41122Lnet/minecraft/class_7920;field_41122:Lnet/minecraft/class_7920;official aLcys;a:Lcys;
-
WIDE
- Mappings:
Namespace Name Mixin selector named WIDELnet/minecraft/client/util/Model;WIDE:Lnet/minecraft/client/util/Model;intermediary field_41123Lnet/minecraft/class_7920;field_41123:Lnet/minecraft/class_7920;official bLcys;b:Lcys;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/client/util/Model;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;intermediary field_62533Lnet/minecraft/class_7920;field_62533:Lnet/minecraft/class_3542$class_7292;official cLcys;c:Lbgd$a;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/client/util/Model;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_62534Lnet/minecraft/class_7920;field_62534:Lnet/minecraft/class_9139;official dLcys;d:Laae;
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/util/Model;name:Ljava/lang/String;intermediary field_41124Lnet/minecraft/class_7920;field_41124:Ljava/lang/String;official eLcys;e:Ljava/lang/String;
-
-
Constructor Details
-
Model
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/util/Model;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_7920;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Lcys;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
fromName
- Mappings:
Namespace Name Mixin selector named fromNameLnet/minecraft/client/util/Model;fromName(Ljava/lang/String;)Lnet/minecraft/client/util/Model;intermediary method_52857Lnet/minecraft/class_7920;method_52857(Ljava/lang/String;)Lnet/minecraft/class_7920;official aLcys;a(Ljava/lang/String;)Lcys;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbgd;c()Ljava/lang/String;
-