net.minecraft.world.entity.animal

public class TropicalFish

extends AbstractSchoolingFish

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Bucketable

boe
net.minecraft.world.entity.animal.TropicalFish
net.minecraft.class_1474
net.minecraft.unmapped.C_mibzatdf
net.minecraft.entity.passive.TropicalFishEntity
net.minecraft.entity.passive.TropicalFishEntity
net.minecraft.src.C_905_
net.minecraft.world.entity.animal.EntityTropicalFish

Field summary

Modifier and TypeField
public static final String
b
BUCKET_VARIANT_TAG
field_30378
f_xklcvktr
BUCKET_VARIANT_TAG_KEY
BUCKET_VARIANT_TAG_KEY
f_149057_
private static final EntityDataAccessor<Integer>
bX
DATA_ID_TYPE_VARIANT
field_6874
f_qbnpifvc
VARIANT
VARIANT
f_30011_
public static final int
c
BASE_SMALL
field_30380
f_nftogcuk
field_30380
BASE_SMALL
f_149061_
public static final int
d
BASE_LARGE
field_30383
f_peoscvxq
field_30383
BASE_LARGE
f_149062_
private static final int
bY
BASES
field_30379
f_euybuxhk
field_30379
BASES
f_149058_
private static final ResourceLocation[]
bZ
BASE_TEXTURE_LOCATIONS
field_6875
f_eyyrraiw
SHAPE_IDS
SHAPE_IDS
f_30012_
private static final ResourceLocation[]
ca
PATTERN_A_TEXTURE_LOCATIONS
field_6878
f_kieqsygm
SMALL_FISH_VARIETY_IDS
SMALL_FISH_VARIETY_IDS
f_30008_
private static final ResourceLocation[]
cb
PATTERN_B_TEXTURE_LOCATIONS
field_6876
f_rvbrirza
LARGE_FISH_VARIETY_IDS
LARGE_FISH_VARIETY_IDS
f_30009_
private static final int
cc
PATTERNS
field_30381
f_syjeatwz
field_30381
PATTERNS
f_149059_
private static final int
cd
COLORS
field_30382
f_schpznkf
field_30382
COLORS
f_149060_
public static final int[]
e
COMMON_VARIANTS
field_6879
f_kufkhwpz
COMMON_VARIANTS
COMMON_VARIANTS
f_30007_
private boolean
ce
isSchool
field_6877
f_pmzlbyhs
commonSpawn
commonSpawn
f_30010_

Constructor summary

ModifierConstructor
public (EntityType<? extends TropicalFish> p_30016_, Level arg1)

Method summary

Modifier and TypeMethod
private static int
a(boe$a arg0, bzq arg1, bzq arg2)
calculateVariant(TropicalFish$Pattern arg0, DyeColor arg1, DyeColor arg2)
method_6647(class_1474$class_1475 arg0, class_1767 arg1, class_1767 arg2)
m_qrnvwstu(C_mibzatdf$C_gdvfbafo arg0, C_arllgqae arg1, C_arllgqae arg2)
toVariant(TropicalFishEntity$Variety variety, DyeColor baseColor, DyeColor patternColor)
toVariant(TropicalFishEntity$Variety variety, DyeColor baseColor, DyeColor patternColor)
m_30018_(C_905_$C_907_ p_30019_, C_1353_ p_30020_, C_1353_ p_30021_)
public static String
b(int arg0)
getPredefinedName(int arg0)
method_6649(int arg0)
m_bfgtpcox(int arg0)
getToolTipForVariant(int variant)
getToolTipForVariant(int variant)
m_30030_(int p_30031_)
public static DyeColor
c(int arg0)
getBaseColor(int arg0)
method_6652(int arg0)
m_mudywnov(int arg0)
getBaseDyeColor(int variant)
getBaseDyeColor(int variant)
m_30050_(int p_30051_)
public static DyeColor
s(int arg0)
getPatternColor(int arg0)
method_6651(int arg0)
m_itvxyiwa(int arg0)
getPatternDyeColor(int variant)
getPatternDyeColor(int variant)
m_30052_(int p_30053_)
public static String
t(int arg0)
getFishTypeName(int arg0)
method_6657(int arg0)
m_cjyycpqc(int arg0)
getTranslationKey(int variant)
getTranslationKey(int variant)
m_30054_(int p_30055_)
protected void
a_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
u(int arg0)
setVariant(int arg0)
method_6659(int arg0)
m_kvoybdbu(int arg0)
setVariant(int variant)
setVariant(int variant)
m_30056_(int arg0)
public boolean
d(int arg0)
isMaxGroupSizeReached(int arg0)
method_5969(int arg0)
m_xijbocdi(int arg0)
spawnsTooManyForEachTry(int arg0)
spawnsTooManyForEachTry(int arg0)
m_7296_(int arg0)
public int
fS()
getVariant()
method_6644()
m_tmekgvkc()
getVariant()
getVariant()
m_30042_()
public void
m(cax arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
m_fpcgmnnr(C_sddaxwyk arg0)
copyDataToStack(ItemStack arg0)
copyDataToStack(ItemStack arg0)
m_6872_(C_1391_ arg0)
public ItemStack
b()
getBucketItemStack()
method_6452()
m_fjfmowsu()
getBucketItem()
getBucketItem()
m_28282_()
protected SoundEvent
r()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
x_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected SoundEvent
c(baw arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
fK()
getFlopSound()
method_6457()
m_glzkagtx()
getFlopSound()
getFlopSound()
m_5699_()
private static int
w(int arg0)
getBaseColorIdx(int arg0)
method_6653(int arg0)
m_jpneyejr(int arg0)
getBaseDyeColorIndex(int variant)
getBaseDyeColorIndex(int variant)
m_30060_(int p_30061_)
public float[]
fT()
getBaseColor()
method_6658()
m_yxjjuqht()
getBaseColorComponents()
getBaseColorComponents()
m_30043_()
private static int
x(int arg0)
getPatternColorIdx(int arg0)
method_6648(int arg0)
m_iiyniban(int arg0)
getPatternDyeColorIndex(int variant)
getPatternDyeColorIndex(int variant)
m_30062_(int p_30063_)
public float[]
fU()
getPatternColor()
method_6655()
m_dhphkfbp()
getPatternColorComponents()
getPatternColorComponents()
m_30044_()
public static int
v(int arg0)
getBaseVariant(int arg0)
method_6656(int arg0)
m_dvrtootd(int arg0)
getShape(int variant)
getShape(int variant)
m_30058_(int p_30059_)
public int
fV()
getBaseVariant()
method_6654()
m_dfxmhvro()
getShape()
getShape()
m_30045_()
private static int
y(int arg0)
getPatternVariant(int arg0)
method_6645(int arg0)
m_prpnnmox(int arg0)
getPattern(int variant)
getPattern(int variant)
m_30064_(int p_30065_)
public ResourceLocation
fW()
getPatternTextureLocation()
method_6646()
m_oqwzqypb()
getVarietyId()
getVarietyId()
m_30046_()
public ResourceLocation
fX()
getBaseTextureLocation()
method_6650()
m_qzzpkztp()
getShapeId()
getShapeId()
m_30047_()
public SpawnGroupData
a(chm arg0, bah arg1, bcg arg2, bcu arg3, pj arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_uzzvxofv arg2, C_lsmqixfx arg3, C_hhlwcnih arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_30024_, C_469_ p_30025_, C_529_ p_30026_, C_542_ p_30027_, C_4917_ arg4)
public static boolean
b(bbr<boe> arg0, cgy arg1, bcg arg2, gt arg3, amn arg4)
checkTropicalFishSpawnRules(EntityType<TropicalFish> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, RandomSource arg4)
method_38985(class_1299<class_1474> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
m_jhctuwse(C_ogavsvbr<C_mibzatdf> arg0, C_vdvbsyle arg1, C_uzzvxofv arg2, C_hynzadkk arg3, C_rlomrsco arg4)
canTropicalFishSpawn(EntityType<TropicalFishEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random)
m_jhctuwse(EntityType<TropicalFishEntity> arg0, WorldAccess arg1, SpawnReason reason, BlockPos pos, RandomGenerator random)
m_218266_(C_513_<C_905_> p_218267_, C_1598_ p_218268_, C_529_ p_218269_, C_4675_ p_218270_, C_212974_ p_218271_)