Package net.minecraft.entity.passive
Enum Class TropicalFishEntity.Size
- All Implemented Interfaces:
Serializable
,Comparable<TropicalFishEntity.Size>
,Constable
- Enclosing class:
TropicalFishEntity
- Mappings:
Namespace Name official byy$a
intermediary net/minecraft/class_1474$class_7991
named net/minecraft/entity/passive/TropicalFishEntity$Size
-
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 official a
Lbyy$a;a:Lbyy$a;
intermediary field_41574
Lnet/minecraft/class_1474$class_7991;field_41574:Lnet/minecraft/class_1474$class_7991;
named SMALL
Lnet/minecraft/entity/passive/TropicalFishEntity$Size;SMALL:Lnet/minecraft/entity/passive/TropicalFishEntity$Size;
-
LARGE
- Mappings:
Namespace Name Mixin selector official b
Lbyy$a;b:Lbyy$a;
intermediary field_41575
Lnet/minecraft/class_1474$class_7991;field_41575:Lnet/minecraft/class_1474$class_7991;
named LARGE
Lnet/minecraft/entity/passive/TropicalFishEntity$Size;LARGE:Lnet/minecraft/entity/passive/TropicalFishEntity$Size;
-
-
Field Details
-
id
final int id- Mappings:
Namespace Name Mixin selector official c
Lbyy$a;c:I
intermediary field_41576
Lnet/minecraft/class_1474$class_7991;field_41576:I
named id
Lnet/minecraft/entity/passive/TropicalFishEntity$Size;id:I
-
-
Constructor Details
-
Size
private Size(int id) - Mappings:
Namespace Name Mixin selector official <init>
Lbyy$a;<init>(Ljava/lang/String;II)V
intermediary <init>
Lnet/minecraft/class_1474$class_7991;<init>(Ljava/lang/String;II)V
named <init>
Lnet/minecraft/entity/passive/TropicalFishEntity$Size;<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
-