net.minecraft.world.entity.animal

public class TropicalFish

extends AbstractSchoolingFish implements VariantHolder<TropicalFish$Pattern>

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Targeting, Bucketable, VariantHolder

cgg
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.EntitySquid

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>
d
DATA_ID_TYPE_VARIANT
field_6874
f_qbnpifvc
VARIANT
VARIANT
f_30011_
public static final List<TropicalFish$Variant>
c
COMMON_VARIANTS
field_41573
f_kufkhwpz
COMMON_VARIANTS
COMMON_VARIANTS
f_30007_
private boolean
e
isSchool
field_6877
f_pmzlbyhs
commonSpawn
commonSpawn
f_30010_

Constructor summary

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

Method summary

Modifier and TypeMethod
public static String
c(int arg0)
getPredefinedName(int arg0)
method_6649(int arg0)
m_bfgtpcox(int arg0)
getToolTipForVariant(int variant)
getToolTipForVariant(int variant)
m_30030_(int p_30031_)
static int
a(cgg$b arg0, ctj arg1, ctj arg2)
packVariant(TropicalFish$Pattern arg0, DyeColor arg1, DyeColor arg2)
method_47861(class_1474$class_1475 arg0, class_1767 arg1, class_1767 arg2)
m_tvhtfvrn(C_mibzatdf$C_gdvfbafo arg0, C_arllgqae arg1, C_arllgqae arg2)
getVariantId(TropicalFishEntity$Variety variety, DyeColor baseColor, DyeColor patternColor)
getVariantIndex(TropicalFishEntity$Variety variety, DyeColor baseColor, DyeColor patternColor)
m_262388_(C_905_$C_907_ p_262598_, C_1353_ p_262618_, C_1353_ p_262683_)
public static DyeColor
t(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
u(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 TropicalFish$Pattern
v(int arg0)
getPattern(int arg0)
method_47864(int arg0)
m_emmjtynz(int arg0)
getVariety(int variant)
getVariety(int id)
m_262390_(int p_262604_)
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public void
b(us 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(us 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)
private void
w(int arg0)
setPackedVariant(int arg0)
method_47865(int arg0)
m_ugwtjmcb(int arg0)
setTropicalFishVariant(int variant)
setVariantId(int id)
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)
private int
gC()
getPackedVariant()
method_47863()
m_chlqwazt()
getTropicalFishVariant()
getVariantId()
m_30042_()
public DyeColor
gz()
getBaseColor()
method_6658()
m_dcanqpbj()
getBaseColorComponents()
getBaseDyeColor()
m_262459_()
public DyeColor
gA()
getPatternColor()
method_6655()
m_vbwibvxz()
getPatternColorComponents()
getPatternDyeColor()
m_262477_()
public TropicalFish$Pattern
gB()
getVariant()
method_47862()
m_pxlsxrcq()
getVariant()
getVariant()
m_28554_()
public void
a(cgg$b arg0)
setVariant(TropicalFish$Pattern arg0)
method_47860(class_1474$class_1475 arg0)
m_temsvsfy(C_mibzatdf$C_gdvfbafo arg0)
setVariant(TropicalFishEntity$Variety arg0)
setVariant(TropicalFishEntity$Variety arg0)
m_28464_(C_905_$C_907_ arg0)
public void
n(cuq 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
v()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
o_()
getDeathSound()
method_6002()
m_axkhmdzu()
getDeathSound()
getDeathSound()
m_5592_()
protected SoundEvent
d(bro 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
gr()
getFlopSound()
method_6457()
m_glzkagtx()
getFlopSound()
getFlopSound()
m_5699_()
public void
c(us arg0)
loadFromBucketTag(CompoundTag arg0)
method_35170(class_2487 arg0)
m_kvcjxewf(C_hhlwcnih arg0)
copyDataFromNbt(NbtCompound arg0)
copyDataFromNbt(NbtCompound arg0)
m_142278_(C_4917_ arg0)
public SpawnGroupData
a(dco arg0, bqt arg1, btu arg2, buj arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
m_oxrxxqyz(C_jmnzlycd arg0, C_jiailwzt arg1, C_uzzvxofv arg2, C_lsmqixfx arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_30024_, C_469_ p_30025_, C_529_ p_30026_, C_542_ arg3)
public static boolean
b(btb<cgg> arg0, dca arg1, btu arg2, iz arg3, azh 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)
canSpawn(EntityType<TropicalFishEntity> type, WorldAccess world, 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_)