Package net.minecraft.entity.passive
Enum TropicalFishEntity.Variety
- All Implemented Interfaces:
Serializable,Comparable<TropicalFishEntity.Variety>,java.lang.constant.Constable
- Enclosing class:
- TropicalFishEntity
static enum TropicalFishEntity.Variety extends Enum<TropicalFishEntity.Variety>
- Mappings:
Namespace Name official bcj$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
-
Field Summary
Fields Modifier and Type Field Description private intpatternprivate intshapeprivate static TropicalFishEntity.Variety[]VALUES -
Constructor Summary
Constructors Modifier Constructor Description privateVariety(int shape, int pattern) -
Method Summary
Modifier and Type Method Description intgetPattern()intgetShape()static StringgetTranslateKey(int shape, int pattern)StringgetTranslationKey()static TropicalFishEntity.VarietyvalueOf(String name)Returns 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 aLbcj$a;a:Lbcj$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 bLbcj$a;b:Lbcj$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 cLbcj$a;c:Lbcj$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 dLbcj$a;d:Lbcj$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 eLbcj$a;e:Lbcj$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 fLbcj$a;f:Lbcj$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 gLbcj$a;g:Lbcj$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 hLbcj$a;h:Lbcj$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 iLbcj$a;i:Lbcj$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 jLbcj$a;j:Lbcj$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 kLbcj$a;k:Lbcj$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 lLbcj$a;l:Lbcj$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 oLbcj$a;o:[Lbcj$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 mLbcj$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 nLbcj$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>Lbcj$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 aLbcj$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 bLbcj$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 aLbcj$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 cLbcj$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;
-