Package net.minecraft.entity.passive
Enum Class TropicalFishEntity.Variety
- All Implemented Interfaces:
Serializable
,Comparable<TropicalFishEntity.Variety>
,Constable
,StringIdentifiable
- Enclosing class:
TropicalFishEntity
public static enum TropicalFishEntity.Variety
extends Enum<TropicalFishEntity.Variety>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/passive/TropicalFishEntity$Variety
intermediary net/minecraft/class_1474$class_1475
official cgc$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final IntFunction
<TropicalFishEntity.Variety> static final com.mojang.serialization.Codec
<TropicalFishEntity.Variety> private final int
private final String
private final TropicalFishEntity.Size
private final Text
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static TropicalFishEntity.Variety
fromId
(int id) int
getId()
getSize()
getText()
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 named KOB
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;KOB:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary field_6881
Lnet/minecraft/class_1474$class_1475;field_6881:Lnet/minecraft/class_1474$class_1475;
official a
Lcgc$b;a:Lcgc$b;
-
SUNSTREAK
- Mappings:
Namespace Name Mixin selector named SUNSTREAK
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;SUNSTREAK:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary field_6880
Lnet/minecraft/class_1474$class_1475;field_6880:Lnet/minecraft/class_1474$class_1475;
official b
Lcgc$b;b:Lcgc$b;
-
SNOOPER
- Mappings:
Namespace Name Mixin selector named SNOOPER
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;SNOOPER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary field_6882
Lnet/minecraft/class_1474$class_1475;field_6882:Lnet/minecraft/class_1474$class_1475;
official c
Lcgc$b;c:Lcgc$b;
-
DASHER
- Mappings:
Namespace Name Mixin selector named DASHER
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;DASHER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary field_6890
Lnet/minecraft/class_1474$class_1475;field_6890:Lnet/minecraft/class_1474$class_1475;
official d
Lcgc$b;d:Lcgc$b;
-
BRINELY
- Mappings:
Namespace Name Mixin selector named BRINELY
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;BRINELY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary field_6891
Lnet/minecraft/class_1474$class_1475;field_6891:Lnet/minecraft/class_1474$class_1475;
official e
Lcgc$b;e:Lcgc$b;
-
SPOTTY
- Mappings:
Namespace Name Mixin selector named SPOTTY
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;SPOTTY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary field_6892
Lnet/minecraft/class_1474$class_1475;field_6892:Lnet/minecraft/class_1474$class_1475;
official f
Lcgc$b;f:Lcgc$b;
-
FLOPPER
- Mappings:
Namespace Name Mixin selector named FLOPPER
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;FLOPPER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary field_6893
Lnet/minecraft/class_1474$class_1475;field_6893:Lnet/minecraft/class_1474$class_1475;
official g
Lcgc$b;g:Lcgc$b;
-
STRIPEY
- Mappings:
Namespace Name Mixin selector named STRIPEY
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;STRIPEY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary field_6887
Lnet/minecraft/class_1474$class_1475;field_6887:Lnet/minecraft/class_1474$class_1475;
official h
Lcgc$b;h:Lcgc$b;
-
GLITTER
- Mappings:
Namespace Name Mixin selector named GLITTER
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;GLITTER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary field_6883
Lnet/minecraft/class_1474$class_1475;field_6883:Lnet/minecraft/class_1474$class_1475;
official i
Lcgc$b;i:Lcgc$b;
-
BLOCKFISH
- Mappings:
Namespace Name Mixin selector named BLOCKFISH
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;BLOCKFISH:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary field_6884
Lnet/minecraft/class_1474$class_1475;field_6884:Lnet/minecraft/class_1474$class_1475;
official j
Lcgc$b;j:Lcgc$b;
-
BETTY
- Mappings:
Namespace Name Mixin selector named BETTY
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;BETTY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary field_6888
Lnet/minecraft/class_1474$class_1475;field_6888:Lnet/minecraft/class_1474$class_1475;
official k
Lcgc$b;k:Lcgc$b;
-
CLAYFISH
- Mappings:
Namespace Name Mixin selector named CLAYFISH
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;CLAYFISH:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary field_6889
Lnet/minecraft/class_1474$class_1475;field_6889:Lnet/minecraft/class_1474$class_1475;
official l
Lcgc$b;l:Lcgc$b;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_41578
Lnet/minecraft/class_1474$class_1475;field_41578:Lcom/mojang/serialization/Codec;
official m
Lcgc$b;m:Lcom/mojang/serialization/Codec;
-
BY_ID
- Mappings:
Namespace Name Mixin selector named BY_ID
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;BY_ID:Ljava/util/function/IntFunction;
intermediary field_41579
Lnet/minecraft/class_1474$class_1475;field_41579:Ljava/util/function/IntFunction;
official n
Lcgc$b;n:Ljava/util/function/IntFunction;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;name:Ljava/lang/String;
intermediary field_41580
Lnet/minecraft/class_1474$class_1475;field_41580:Ljava/lang/String;
official o
Lcgc$b;o:Ljava/lang/String;
-
text
- Mappings:
Namespace Name Mixin selector named text
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;text:Lnet/minecraft/text/Text;
intermediary field_41581
Lnet/minecraft/class_1474$class_1475;field_41581:Lnet/minecraft/class_2561;
official p
Lcgc$b;p:Lwy;
-
size
- Mappings:
Namespace Name Mixin selector named size
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;size:Lnet/minecraft/entity/passive/TropicalFishEntity$Size;
intermediary field_41582
Lnet/minecraft/class_1474$class_1475;field_41582:Lnet/minecraft/class_1474$class_7991;
official q
Lcgc$b;q:Lcgc$a;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;id:I
intermediary field_41583
Lnet/minecraft/class_1474$class_1475;field_41583:I
official r
Lcgc$b;r:I
-
-
Constructor Details
-
Variety
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/entity/passive/TropicalFishEntity$Size;I)V
intermediary <init>
Lnet/minecraft/class_1474$class_1475;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_1474$class_7991;I)V
official <init>
Lcgc$b;<init>(Ljava/lang/String;ILjava/lang/String;Lcgc$a;I)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
-
fromId
- Mappings:
Namespace Name Mixin selector named fromId
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;fromId(I)Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
intermediary method_47868
Lnet/minecraft/class_1474$class_1475;method_47868(I)Lnet/minecraft/class_1474$class_1475;
official a
Lcgc$b;a(I)Lcgc$b;
-
getSize
- Mappings:
Namespace Name Mixin selector named getSize
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;getSize()Lnet/minecraft/entity/passive/TropicalFishEntity$Size;
intermediary method_47867
Lnet/minecraft/class_1474$class_1475;method_47867()Lnet/minecraft/class_1474$class_7991;
official a
Lcgc$b;a()Lcgc$a;
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;getId()I
intermediary method_47870
Lnet/minecraft/class_1474$class_1475;method_47870()I
official b
Lcgc$b;b()I
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
official c
Lazj;c()Ljava/lang/String;
-
getText
- Mappings:
Namespace Name Mixin selector named getText
Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;getText()Lnet/minecraft/text/Text;
intermediary method_47871
Lnet/minecraft/class_1474$class_1475;method_47871()Lnet/minecraft/class_2561;
official d
Lcgc$b;d()Lwy;
-