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 chz$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
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
Lchz$a;a:Lchz$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
Lchz$a;b:Lchz$a;
-
-
Field Details
-
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>
Lchz$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
-