net.minecraft.world.entity.animal

public class TropicalFish

extends AbstractSchoolingFish

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Bucketable

bnh
net.minecraft.world.entity.animal.TropicalFish
net.minecraft.class_1474
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
BUCKET_VARIANT_TAG_KEY
f_149057_
private static final EntityDataAccessor<Integer>
bX
DATA_ID_TYPE_VARIANT
field_6874
VARIANT
f_30011_
public static final int
c
BASE_SMALL
field_30380
field_30380
f_149061_
public static final int
d
BASE_LARGE
field_30383
field_30383
f_149062_
private static final int
bY
BASES
field_30379
field_30379
f_149058_
private static final ResourceLocation[]
bZ
BASE_TEXTURE_LOCATIONS
field_6875
SHAPE_IDS
f_30012_
private static final ResourceLocation[]
ca
PATTERN_A_TEXTURE_LOCATIONS
field_6878
SMALL_FISH_VARIETY_IDS
f_30008_
private static final ResourceLocation[]
cb
PATTERN_B_TEXTURE_LOCATIONS
field_6876
LARGE_FISH_VARIETY_IDS
f_30009_
private static final int
cc
PATTERNS
field_30381
field_30381
f_149059_
private static final int
cd
COLORS
field_30382
field_30382
f_149060_
public static final int[]
e
COMMON_VARIANTS
field_6879
COMMON_VARIANTS
f_30007_
private boolean
ce
isSchool
field_6877
commonSpawn
f_30010_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static int
a(bnh$a arg0, byt arg1, byt arg2)
calculateVariant(TropicalFish$Pattern arg0, DyeColor arg1, DyeColor arg2)
method_6647(class_1474$class_1475 arg0, class_1767 arg1, class_1767 arg2)
toVariant(TropicalFishEntity$Variety variety, DyeColor baseColor, DyeColor patternColor)
m_30018_(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)
getToolTipForVariant(int variant)
m_30030_(int p_30031_)
public static DyeColor
c(int arg0)
getBaseColor(int arg0)
method_6652(int arg0)
getBaseDyeColor(int variant)
m_30050_(int p_30051_)
public static DyeColor
s(int arg0)
getPatternColor(int arg0)
method_6651(int arg0)
getPatternDyeColor(int variant)
m_30052_(int p_30053_)
public static String
t(int arg0)
getFishTypeName(int arg0)
method_6657(int arg0)
getTranslationKey(int variant)
m_30054_(int p_30055_)
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
u(int arg0)
setVariant(int arg0)
method_6659(int arg0)
setVariant(int variant)
m_30056_(int arg0)
public boolean
d(int arg0)
isMaxGroupSizeReached(int arg0)
method_5969(int arg0)
spawnsTooManyForEachTry(int arg0)
m_7296_(int arg0)
public int
fT()
getVariant()
method_6644()
getVariant()
m_30042_()
public void
m(caa arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
m_6872_(C_1391_ arg0)
public ItemStack
b()
getBucketItemStack()
method_6452()
getBucketItem()
m_28282_()
protected SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
x_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
c(azz arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
fL()
getFlopSound()
method_6457()
getFlopSound()
m_5699_()
private static int
w(int arg0)
getBaseColorIdx(int arg0)
method_6653(int arg0)
getBaseDyeColorIndex(int variant)
m_30060_(int p_30061_)
public float[]
fU()
getBaseColor()
method_6658()
getBaseColorComponents()
m_30043_()
private static int
x(int arg0)
getPatternColorIdx(int arg0)
method_6648(int arg0)
getPatternDyeColorIndex(int variant)
m_30062_(int p_30063_)
public float[]
fV()
getPatternColor()
method_6655()
getPatternColorComponents()
m_30044_()
public static int
v(int arg0)
getBaseVariant(int arg0)
method_6656(int arg0)
getShape(int variant)
m_30058_(int p_30059_)
public int
fW()
getBaseVariant()
method_6654()
getShape()
m_30045_()
private static int
y(int arg0)
getPatternVariant(int arg0)
method_6645(int arg0)
getPattern(int variant)
m_30064_(int p_30065_)
public ResourceLocation
fX()
getPatternTextureLocation()
method_6646()
getVarietyId()
m_30046_()
public ResourceLocation
fY()
getBaseTextureLocation()
method_6650()
getShapeId()
m_30047_()
public SpawnGroupData
a(cgp arg0, azk arg1, bbj arg2, bbx 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)
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(bau<bnh> arg0, cgb arg1, bbj arg2, gt arg3, alu 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)
canTropicalFishSpawn(EntityType<TropicalFishEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random 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_)