net.minecraft.entity.passive

public enum TropicalFishEntity$Pattern

implements StringIdentifiable, TooltipAppender

net.minecraft.world.entity.animal.fish.TropicalFish$Pattern
net.minecraft.class_1474$class_1475
net.minecraft.entity.passive.TropicalFishEntity$Pattern

Enum constant summary

Enum Constant
KOB
field_6881
KOB
SUNSTREAK
field_6880
SUNSTREAK
SNOOPER
field_6882
SNOOPER
DASHER
field_6890
DASHER
BRINELY
field_6891
BRINELY
SPOTTY
field_6892
SPOTTY
FLOPPER
field_6893
FLOPPER
STRIPEY
field_6887
STRIPEY
GLITTER
field_6883
GLITTER
BLOCKFISH
field_6884
BLOCKFISH
BETTY
field_6888
BETTY
CLAYFISH
field_6889
CLAYFISH

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<TropicalFishEntity$Pattern>
CODEC
field_41578
CODEC
private static final IntFunction<TropicalFishEntity$Pattern>
BY_ID
field_41579
INDEX_MAPPER
public static final PacketCodec<io.netty.buffer.ByteBuf, TropicalFishEntity$Pattern>
STREAM_CODEC
field_55969
PACKET_CODEC
private final String
name
field_41580
id
private final Text
displayName
field_41581
text
private final TropicalFishEntity$Size
base
field_41582
size
private final int
packedId
field_41583
index
private static final TropicalFishEntity$Pattern[]
$VALUES
field_6886
field_6886

Constructor summary

ModifierConstructor
private (String $enum$name, TropicalFishEntity$Size $enum$ordinal, int id)

Method summary

Modifier and TypeMethod
public static TropicalFishEntity$Pattern
byId(int packedId)
method_47868(int arg0)
byIndex(int index)
public TropicalFishEntity$Size
base()
method_47867()
getSize()
public int
getPackedId()
method_47870()
getIndex()
public String
getSerializedName()
method_15434()
asString()
public Text
displayName()
method_47871()
getText()
public void
addToTooltip(Item$TooltipContext context, Consumer<Component> consumer, TooltipFlag flag, DataComponentGetter components)
method_57409(class_1792$class_9635 arg0, Consumer<class_2561> arg1, class_1836 arg2, class_9473 arg3)
appendTooltip(Item$TooltipContext arg0, Consumer<Text> arg1, TooltipType arg2, ComponentsAccess arg3)
private static TropicalFishEntity$Pattern[]
$values()
method_36643()
method_36643()