Package net.minecraft.entity.passive
Enum TropicalFishEntity.Variety
- All Implemented Interfaces:
Serializable,Comparable<TropicalFishEntity.Variety>,java.lang.constant.Constable
- Enclosing class:
- TropicalFishEntity
- Mappings:
Namespace Name official bed$aintermediary net/minecraft/class_1474$class_1475named net/minecraft/entity/passive/TropicalFishEntity$Variety
-
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
FieldsModifier and TypeFieldDescriptionprivate intprivate intprivate static TropicalFishEntity.Variety[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetShape()static StringgetTranslateKey(int shape, int pattern)static TropicalFishEntity.VarietyReturns the enum constant of this type with the specified name.static TropicalFishEntity.Variety[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
KOB
- Mappings:
Namespace Name Mixin selector official aLbed$a;a:Lbed$a;intermediary field_6881Lnet/minecraft/class_1474$class_1475;field_6881:Lnet/minecraft/class_1474$class_1475;named KOBLnet/minecraft/entity/passive/TropicalFishEntity$Variety;KOB:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
SUNSTREAK
- Mappings:
Namespace Name Mixin selector official bLbed$a;b:Lbed$a;intermediary field_6880Lnet/minecraft/class_1474$class_1475;field_6880:Lnet/minecraft/class_1474$class_1475;named SUNSTREAKLnet/minecraft/entity/passive/TropicalFishEntity$Variety;SUNSTREAK:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
SNOOPER
- Mappings:
Namespace Name Mixin selector official cLbed$a;c:Lbed$a;intermediary field_6882Lnet/minecraft/class_1474$class_1475;field_6882:Lnet/minecraft/class_1474$class_1475;named SNOOPERLnet/minecraft/entity/passive/TropicalFishEntity$Variety;SNOOPER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
DASHER
- Mappings:
Namespace Name Mixin selector official dLbed$a;d:Lbed$a;intermediary field_6890Lnet/minecraft/class_1474$class_1475;field_6890:Lnet/minecraft/class_1474$class_1475;named DASHERLnet/minecraft/entity/passive/TropicalFishEntity$Variety;DASHER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
BRINELY
- Mappings:
Namespace Name Mixin selector official eLbed$a;e:Lbed$a;intermediary field_6891Lnet/minecraft/class_1474$class_1475;field_6891:Lnet/minecraft/class_1474$class_1475;named BRINELYLnet/minecraft/entity/passive/TropicalFishEntity$Variety;BRINELY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
SPOTTY
- Mappings:
Namespace Name Mixin selector official fLbed$a;f:Lbed$a;intermediary field_6892Lnet/minecraft/class_1474$class_1475;field_6892:Lnet/minecraft/class_1474$class_1475;named SPOTTYLnet/minecraft/entity/passive/TropicalFishEntity$Variety;SPOTTY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
FLOPPER
- Mappings:
Namespace Name Mixin selector official gLbed$a;g:Lbed$a;intermediary field_6893Lnet/minecraft/class_1474$class_1475;field_6893:Lnet/minecraft/class_1474$class_1475;named FLOPPERLnet/minecraft/entity/passive/TropicalFishEntity$Variety;FLOPPER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
STRIPEY
- Mappings:
Namespace Name Mixin selector official hLbed$a;h:Lbed$a;intermediary field_6887Lnet/minecraft/class_1474$class_1475;field_6887:Lnet/minecraft/class_1474$class_1475;named STRIPEYLnet/minecraft/entity/passive/TropicalFishEntity$Variety;STRIPEY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
GLITTER
- Mappings:
Namespace Name Mixin selector official iLbed$a;i:Lbed$a;intermediary field_6883Lnet/minecraft/class_1474$class_1475;field_6883:Lnet/minecraft/class_1474$class_1475;named GLITTERLnet/minecraft/entity/passive/TropicalFishEntity$Variety;GLITTER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
BLOCKFISH
- Mappings:
Namespace Name Mixin selector official jLbed$a;j:Lbed$a;intermediary field_6884Lnet/minecraft/class_1474$class_1475;field_6884:Lnet/minecraft/class_1474$class_1475;named BLOCKFISHLnet/minecraft/entity/passive/TropicalFishEntity$Variety;BLOCKFISH:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
BETTY
- Mappings:
Namespace Name Mixin selector official kLbed$a;k:Lbed$a;intermediary field_6888Lnet/minecraft/class_1474$class_1475;field_6888:Lnet/minecraft/class_1474$class_1475;named BETTYLnet/minecraft/entity/passive/TropicalFishEntity$Variety;BETTY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
CLAYFISH
- Mappings:
Namespace Name Mixin selector official lLbed$a;l:Lbed$a;intermediary field_6889Lnet/minecraft/class_1474$class_1475;field_6889:Lnet/minecraft/class_1474$class_1475;named CLAYFISHLnet/minecraft/entity/passive/TropicalFishEntity$Variety;CLAYFISH:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official oLbed$a;o:[Lbed$a;intermediary field_6885Lnet/minecraft/class_1474$class_1475;field_6885:[Lnet/minecraft/class_1474$class_1475;named VALUESLnet/minecraft/entity/passive/TropicalFishEntity$Variety;VALUES:[Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
shape
private final int shape- Mappings:
Namespace Name Mixin selector official mLbed$a;m:Iintermediary field_6895Lnet/minecraft/class_1474$class_1475;field_6895:Inamed shapeLnet/minecraft/entity/passive/TropicalFishEntity$Variety;shape:I
-
pattern
private final int pattern- Mappings:
Namespace Name Mixin selector official nLbed$a;n:Iintermediary field_6894Lnet/minecraft/class_1474$class_1475;field_6894:Inamed patternLnet/minecraft/entity/passive/TropicalFishEntity$Variety;pattern:I
-
-
Constructor Details
-
Variety
private Variety(int shape, int pattern)- Mappings:
Namespace Name Mixin selector official <init>Lbed$a;<init>(Ljava/lang/String;III)Vintermediary <init>Lnet/minecraft/class_1474$class_1475;<init>(Ljava/lang/String;III)Vnamed <init>Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;<init>(Ljava/lang/String;III)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getShape
public int getShape()- Mappings:
Namespace Name Mixin selector official aLbed$a;a()Iintermediary method_6662Lnet/minecraft/class_1474$class_1475;method_6662()Inamed getShapeLnet/minecraft/entity/passive/TropicalFishEntity$Variety;getShape()I
-
getPattern
public int getPattern()- Mappings:
Namespace Name Mixin selector official bLbed$a;b()Iintermediary method_6663Lnet/minecraft/class_1474$class_1475;method_6663()Inamed getPatternLnet/minecraft/entity/passive/TropicalFishEntity$Variety;getPattern()I
-
getTranslateKey
- Mappings:
Namespace Name Mixin selector official aLbed$a;a(II)Ljava/lang/String;intermediary method_6660Lnet/minecraft/class_1474$class_1475;method_6660(II)Ljava/lang/String;named getTranslateKeyLnet/minecraft/entity/passive/TropicalFishEntity$Variety;getTranslateKey(II)Ljava/lang/String;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official cLbed$a;c()Ljava/lang/String;intermediary method_6661Lnet/minecraft/class_1474$class_1475;method_6661()Ljava/lang/String;named getTranslationKeyLnet/minecraft/entity/passive/TropicalFishEntity$Variety;getTranslationKey()Ljava/lang/String;
-