Package net.minecraft.entity.passive
Enum Class TropicalFishEntity.Size
- All Implemented Interfaces:
Serializable,Comparable<TropicalFishEntity.Size>,Constable
- Enclosing class:
TropicalFishEntity
- Mappings:
Namespace Name official bsj$aintermediary net/minecraft/class_1474$class_7991named 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
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TropicalFishEntity.SizeReturns 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 aLbsj$a;a:Lbsj$a;intermediary field_41574Lnet/minecraft/class_1474$class_7991;field_41574:Lnet/minecraft/class_1474$class_7991;named SMALLLnet/minecraft/entity/passive/TropicalFishEntity$Size;SMALL:Lnet/minecraft/entity/passive/TropicalFishEntity$Size;
-
LARGE
- Mappings:
Namespace Name Mixin selector official bLbsj$a;b:Lbsj$a;intermediary field_41575Lnet/minecraft/class_1474$class_7991;field_41575:Lnet/minecraft/class_1474$class_7991;named LARGELnet/minecraft/entity/passive/TropicalFishEntity$Size;LARGE:Lnet/minecraft/entity/passive/TropicalFishEntity$Size;
-
-
Field Details
-
id
final int id- Mappings:
Namespace Name Mixin selector official cLbsj$a;c:Iintermediary field_41576Lnet/minecraft/class_1474$class_7991;field_41576:Inamed idLnet/minecraft/entity/passive/TropicalFishEntity$Size;id:I
-
-
Constructor Details
-
Size
private Size(int id) - Mappings:
Namespace Name Mixin selector official <init>Lbsj$a;<init>(Ljava/lang/String;II)Vintermediary <init>Lnet/minecraft/class_1474$class_7991;<init>(Ljava/lang/String;II)Vnamed <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
-