Package net.minecraft.entity.passive
Enum Class TropicalFishEntity.Size
- All Implemented Interfaces:
Serializable
,Comparable<TropicalFishEntity.Size>
,Constable
- Enclosing class:
TropicalFishEntity
- Mappings:
Namespace Name named net/minecraft/entity/passive/TropicalFishEntity$Size
intermediary net/minecraft/class_1474$class_7991
official cfs$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TropicalFishEntity.Size
Returns the enum constant of this class with the specified name.static TropicalFishEntity.Size[]
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/TropicalFishEntity$Size;SMALL:Lnet/minecraft/entity/passive/TropicalFishEntity$Size;
intermediary field_41574
Lnet/minecraft/class_1474$class_7991;field_41574:Lnet/minecraft/class_1474$class_7991;
official a
Lcfs$a;a:Lcfs$a;
-
LARGE
- Mappings:
Namespace Name Mixin selector named LARGE
Lnet/minecraft/entity/passive/TropicalFishEntity$Size;LARGE:Lnet/minecraft/entity/passive/TropicalFishEntity$Size;
intermediary field_41575
Lnet/minecraft/class_1474$class_7991;field_41575:Lnet/minecraft/class_1474$class_7991;
official b
Lcfs$a;b:Lcfs$a;
-
-
Field Details
-
id
final int id- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/entity/passive/TropicalFishEntity$Size;id:I
intermediary field_41576
Lnet/minecraft/class_1474$class_7991;field_41576:I
official c
Lcfs$a;c:I
-
-
Constructor Details
-
Size
private Size(int id) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/TropicalFishEntity$Size;<init>(Ljava/lang/String;II)V
intermediary <init>
Lnet/minecraft/class_1474$class_7991;<init>(Ljava/lang/String;II)V
official <init>
Lcfs$a;<init>(Ljava/lang/String;II)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
-