net.minecraft.world.entity.animal

public class TropicalFish

extends AbstractSchoolingFish

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Bucketable

bew
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>
bT
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
bU
BASES
field_30379
field_30379
f_149058_
private static final ResourceLocation[]
bV
BASE_TEXTURE_LOCATIONS
field_6875
SHAPE_IDS
f_30012_
private static final ResourceLocation[]
bW
PATTERN_A_TEXTURE_LOCATIONS
field_6878
SMALL_FISH_VARIETY_IDS
f_30008_
private static final ResourceLocation[]
bX
PATTERN_B_TEXTURE_LOCATIONS
field_6876
LARGE_FISH_VARIETY_IDS
f_30009_
private static final int
bY
PATTERNS
field_30381
field_30381
f_149059_
private static final int
bZ
COLORS
field_30382
field_30382
f_149060_
public static final int[]
e
COMMON_VARIANTS
field_6879
COMMON_VARIANTS
f_30007_
private boolean
ca
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(bew$a arg0, bpm arg1, bpm 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_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)
getToolTipForVariant(int variant)
m_30030_(int p_30031_)
public static DyeColor
t(int arg0)
getBaseColor(int arg0)
method_6652(int arg0)
getBaseDyeColor(int variant)
m_30050_(int p_30051_)
public static DyeColor
u(int arg0)
getPatternColor(int arg0)
method_6651(int arg0)
getPatternDyeColor(int variant)
m_30052_(int p_30053_)
public static String
v(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_()
initDatawatcher()
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
public void
w(int arg0)
setVariant(int arg0)
method_6659(int arg0)
setVariant(int variant)
m_30056_(int arg0)
setVariant(int arg0)
public boolean
c(int arg0)
isMaxGroupSizeReached(int arg0)
method_5969(int arg0)
spawnsTooManyForEachTry(int arg0)
m_7296_(int arg0)
public int
fF()
getVariant()
method_6644()
getVariant()
m_30042_()
getVariant()
public void
m(bqq arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
m_142146_(C_1391_ arg0)
setBucketName(ItemStack arg0)
public ItemStack
b()
getBucketItemStack()
method_6452()
getBucketItem()
m_142563_()
getBucketItem()
protected SoundEvent
q()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
getSoundAmbient()
protected SoundEvent
v_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
getSoundDeath()
protected SoundEvent
c(asq arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
fx()
getFlopSound()
method_6457()
getFlopSound()
m_5699_()
getSoundFlop()
private static int
y(int arg0)
getBaseColorIdx(int arg0)
method_6653(int arg0)
getBaseDyeColorIndex(int variant)
m_30060_(int p_30061_)
public float[]
fG()
getBaseColor()
method_6658()
getBaseColorComponents()
m_30043_()
private static int
z(int arg0)
getPatternColorIdx(int arg0)
method_6648(int arg0)
getPatternDyeColorIndex(int variant)
m_30062_(int p_30063_)
public float[]
fH()
getPatternColor()
method_6655()
getPatternColorComponents()
m_30044_()
public static int
x(int arg0)
getBaseVariant(int arg0)
method_6656(int arg0)
getShape(int variant)
m_30058_(int p_30059_)
public int
fI()
getBaseVariant()
method_6654()
getShape()
m_30045_()
private static int
A(int arg0)
getPatternVariant(int arg0)
method_6645(int arg0)
getPattern(int variant)
m_30064_(int p_30065_)
public ResourceLocation
fJ()
getPatternTextureLocation()
method_6646()
getVarietyId()
m_30046_()
public ResourceLocation
fK()
getBaseTextureLocation()
method_6650()
getShapeId()
m_30047_()
public SpawnGroupData
a(bxe arg0, arz arg1, aty arg2, aum arg3, na 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)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)