Package net.minecraft.entity.passive
Enum Class TropicalFishEntity.Variety
- All Implemented Interfaces:
Serializable
,Comparable<TropicalFishEntity.Variety>
,Constable
- Enclosing class:
TropicalFishEntity
- Mappings:
Namespace Name official bjb$a
intermediary net/minecraft/class_1474$class_1475
named 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
Modifier and TypeFieldDescriptionprivate final int
private final int
private static final TropicalFishEntity.Variety[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getShape()
static String
getTranslateKey
(int shape, int pattern) static TropicalFishEntity.Variety
Returns 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 a
Lbjb$a;a:Lbjb$a;
intermediary field_6881
Lnet/minecraft/class_1474$class_1475;field_6881:Lnet/minecraft/class_1474$class_1475;
named KOB
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;KOB:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
SUNSTREAK
- Mappings:
Namespace Name Mixin selector official b
Lbjb$a;b:Lbjb$a;
intermediary field_6880
Lnet/minecraft/class_1474$class_1475;field_6880:Lnet/minecraft/class_1474$class_1475;
named SUNSTREAK
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;SUNSTREAK:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
SNOOPER
- Mappings:
Namespace Name Mixin selector official c
Lbjb$a;c:Lbjb$a;
intermediary field_6882
Lnet/minecraft/class_1474$class_1475;field_6882:Lnet/minecraft/class_1474$class_1475;
named SNOOPER
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;SNOOPER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
DASHER
- Mappings:
Namespace Name Mixin selector official d
Lbjb$a;d:Lbjb$a;
intermediary field_6890
Lnet/minecraft/class_1474$class_1475;field_6890:Lnet/minecraft/class_1474$class_1475;
named DASHER
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;DASHER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
BRINELY
- Mappings:
Namespace Name Mixin selector official e
Lbjb$a;e:Lbjb$a;
intermediary field_6891
Lnet/minecraft/class_1474$class_1475;field_6891:Lnet/minecraft/class_1474$class_1475;
named BRINELY
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;BRINELY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
SPOTTY
- Mappings:
Namespace Name Mixin selector official f
Lbjb$a;f:Lbjb$a;
intermediary field_6892
Lnet/minecraft/class_1474$class_1475;field_6892:Lnet/minecraft/class_1474$class_1475;
named SPOTTY
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;SPOTTY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
FLOPPER
- Mappings:
Namespace Name Mixin selector official g
Lbjb$a;g:Lbjb$a;
intermediary field_6893
Lnet/minecraft/class_1474$class_1475;field_6893:Lnet/minecraft/class_1474$class_1475;
named FLOPPER
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;FLOPPER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
STRIPEY
- Mappings:
Namespace Name Mixin selector official h
Lbjb$a;h:Lbjb$a;
intermediary field_6887
Lnet/minecraft/class_1474$class_1475;field_6887:Lnet/minecraft/class_1474$class_1475;
named STRIPEY
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;STRIPEY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
GLITTER
- Mappings:
Namespace Name Mixin selector official i
Lbjb$a;i:Lbjb$a;
intermediary field_6883
Lnet/minecraft/class_1474$class_1475;field_6883:Lnet/minecraft/class_1474$class_1475;
named GLITTER
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;GLITTER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
BLOCKFISH
- Mappings:
Namespace Name Mixin selector official j
Lbjb$a;j:Lbjb$a;
intermediary field_6884
Lnet/minecraft/class_1474$class_1475;field_6884:Lnet/minecraft/class_1474$class_1475;
named BLOCKFISH
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;BLOCKFISH:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
BETTY
- Mappings:
Namespace Name Mixin selector official k
Lbjb$a;k:Lbjb$a;
intermediary field_6888
Lnet/minecraft/class_1474$class_1475;field_6888:Lnet/minecraft/class_1474$class_1475;
named BETTY
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;BETTY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
CLAYFISH
- Mappings:
Namespace Name Mixin selector official l
Lbjb$a;l:Lbjb$a;
intermediary field_6889
Lnet/minecraft/class_1474$class_1475;field_6889:Lnet/minecraft/class_1474$class_1475;
named CLAYFISH
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;CLAYFISH:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official o
Lbjb$a;o:[Lbjb$a;
intermediary field_6885
Lnet/minecraft/class_1474$class_1475;field_6885:[Lnet/minecraft/class_1474$class_1475;
named VALUES
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;VALUES:[Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
-
shape
private final int shape- Mappings:
Namespace Name Mixin selector official m
Lbjb$a;m:I
intermediary field_6895
Lnet/minecraft/class_1474$class_1475;field_6895:I
named shape
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;shape:I
-
pattern
private final int pattern- Mappings:
Namespace Name Mixin selector official n
Lbjb$a;n:I
intermediary field_6894
Lnet/minecraft/class_1474$class_1475;field_6894:I
named pattern
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;pattern:I
-
-
Constructor Details
-
Variety
private Variety(int shape, int pattern) - Mappings:
Namespace Name Mixin selector official <init>
Lbjb$a;<init>(Ljava/lang/String;III)V
intermediary <init>
Lnet/minecraft/class_1474$class_1475;<init>(Ljava/lang/String;III)V
named <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 a
Lbjb$a;a()I
intermediary method_6662
Lnet/minecraft/class_1474$class_1475;method_6662()I
named getShape
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;getShape()I
-
getPattern
public int getPattern()- Mappings:
Namespace Name Mixin selector official b
Lbjb$a;b()I
intermediary method_6663
Lnet/minecraft/class_1474$class_1475;method_6663()I
named getPattern
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;getPattern()I
-
getTranslateKey
- Mappings:
Namespace Name Mixin selector official a
Lbjb$a;a(II)Ljava/lang/String;
intermediary method_6660
Lnet/minecraft/class_1474$class_1475;method_6660(II)Ljava/lang/String;
named getTranslateKey
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;getTranslateKey(II)Ljava/lang/String;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official c
Lbjb$a;c()Ljava/lang/String;
intermediary method_6661
Lnet/minecraft/class_1474$class_1475;method_6661()Ljava/lang/String;
named getTranslationKey
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;getTranslationKey()Ljava/lang/String;
-