Package net.minecraft.entity.passive
Enum Class SalmonEntity.Variant
- All Implemented Interfaces:
Serializable
,Comparable<SalmonEntity.Variant>
,Constable
,StringIdentifiable
- Enclosing class:
SalmonEntity
public static enum SalmonEntity.Variant
extends Enum<SalmonEntity.Variant>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/passive/SalmonEntity$Variant
intermediary net/minecraft/class_1462$class_9869
official cir$a
-
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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StringIdentifiable.EnumCodec
<SalmonEntity.Variant> (package private) final String
(package private) final float
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.(package private) static SalmonEntity.Variant
static SalmonEntity.Variant
Returns the enum constant of this class with the specified name.static SalmonEntity.Variant[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SMALL
- Mappings:
Namespace Name Mixin selector named SMALL
Lnet/minecraft/entity/passive/SalmonEntity$Variant;SMALL:Lnet/minecraft/entity/passive/SalmonEntity$Variant;
intermediary field_52470
Lnet/minecraft/class_1462$class_9869;field_52470:Lnet/minecraft/class_1462$class_9869;
official a
Lcir$a;a:Lcir$a;
-
MEDIUM
- Mappings:
Namespace Name Mixin selector named MEDIUM
Lnet/minecraft/entity/passive/SalmonEntity$Variant;MEDIUM:Lnet/minecraft/entity/passive/SalmonEntity$Variant;
intermediary field_52471
Lnet/minecraft/class_1462$class_9869;field_52471:Lnet/minecraft/class_1462$class_9869;
official b
Lcir$a;b:Lcir$a;
-
LARGE
- Mappings:
Namespace Name Mixin selector named LARGE
Lnet/minecraft/entity/passive/SalmonEntity$Variant;LARGE:Lnet/minecraft/entity/passive/SalmonEntity$Variant;
intermediary field_52472
Lnet/minecraft/class_1462$class_9869;field_52472:Lnet/minecraft/class_1462$class_9869;
official c
Lcir$a;c:Lcir$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/entity/passive/SalmonEntity$Variant;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
intermediary field_52473
Lnet/minecraft/class_1462$class_9869;field_52473:Lnet/minecraft/class_3542$class_7292;
official d
Lcir$a;d:Lbba$a;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/entity/passive/SalmonEntity$Variant;id:Ljava/lang/String;
intermediary field_52474
Lnet/minecraft/class_1462$class_9869;field_52474:Ljava/lang/String;
official e
Lcir$a;e:Ljava/lang/String;
-
scale
final float scale- Mappings:
Namespace Name Mixin selector named scale
Lnet/minecraft/entity/passive/SalmonEntity$Variant;scale:F
intermediary field_53975
Lnet/minecraft/class_1462$class_9869;field_53975:F
official f
Lcir$a;f:F
-
-
Constructor Details
-
Variant
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/SalmonEntity$Variant;<init>(Ljava/lang/String;ILjava/lang/String;F)V
intermediary <init>
Lnet/minecraft/class_1462$class_9869;<init>(Ljava/lang/String;ILjava/lang/String;F)V
official <init>
Lcir$a;<init>(Ljava/lang/String;ILjava/lang/String;F)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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- 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
Lbba;c()Ljava/lang/String;
-
byId
- Mappings:
Namespace Name Mixin selector named byId
Lnet/minecraft/entity/passive/SalmonEntity$Variant;byId(Ljava/lang/String;)Lnet/minecraft/entity/passive/SalmonEntity$Variant;
intermediary method_61474
Lnet/minecraft/class_1462$class_9869;method_61474(Ljava/lang/String;)Lnet/minecraft/class_1462$class_9869;
official a
Lcir$a;a(Ljava/lang/String;)Lcir$a;
-