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 bch$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
Fields Modifier and Type Field Description private int
pattern
private int
shape
private static TropicalFishEntity.Variety[]
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
Variety(int shape, int pattern)
-
Method Summary
Modifier and Type Method Description int
getPattern()
int
getShape()
static String
getTranslateKey(int shape, int pattern)
String
getTranslationKey()
static TropicalFishEntity.Variety
valueOf(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 a
Lbch$a;a:Lbch$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
Lbch$a;b:Lbch$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
Lbch$a;c:Lbch$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
Lbch$a;d:Lbch$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
Lbch$a;e:Lbch$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
Lbch$a;f:Lbch$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
Lbch$a;g:Lbch$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
Lbch$a;h:Lbch$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
Lbch$a;i:Lbch$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
Lbch$a;j:Lbch$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
Lbch$a;k:Lbch$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
Lbch$a;l:Lbch$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
Lbch$a;o:[Lbch$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
Lbch$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
Lbch$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>
Lbch$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 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 a
Lbch$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
Lbch$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
Lbch$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
Lbch$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;
-