Package net.minecraft.entity.passive
Enum Class TropicalFishEntity.Variety
- All Implemented Interfaces:
Serializable,Comparable<TropicalFishEntity.Variety>,Constable
- Enclosing class:
- TropicalFishEntity
- Mappings:
Namespace Name official bfz$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 final intprivate final intprivate static final TropicalFishEntity.Variety[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetShape()static StringgetTranslateKey(int shape, int pattern) static TropicalFishEntity.VarietyReturns the enum constant of this class with the specified name.static TropicalFishEntity.Variety[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KOB
- Mappings:
Namespace Name Mixin selector official aLbfz$a;a:Lbfz$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 bLbfz$a;b:Lbfz$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 cLbfz$a;c:Lbfz$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 dLbfz$a;d:Lbfz$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 eLbfz$a;e:Lbfz$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 fLbfz$a;f:Lbfz$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 gLbfz$a;g:Lbfz$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 hLbfz$a;h:Lbfz$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 iLbfz$a;i:Lbfz$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 jLbfz$a;j:Lbfz$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 kLbfz$a;k:Lbfz$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 lLbfz$a;l:Lbfz$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 oLbfz$a;o:[Lbfz$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 mLbfz$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 nLbfz$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>Lbfz$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 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
-
getShape
public int getShape()- Mappings:
Namespace Name Mixin selector official aLbfz$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 bLbfz$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 aLbfz$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 cLbfz$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;
-