net.minecraft.world.entity.animal

public class TropicalFish

extends AbstractSchoolingFish

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Bucketable

bij
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>
bW
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
bX
BASES
field_30379
field_30379
f_149058_
private static final ResourceLocation[]
bY
BASE_TEXTURE_LOCATIONS
field_6875
SHAPE_IDS
f_30012_
private static final ResourceLocation[]
bZ
PATTERN_A_TEXTURE_LOCATIONS
field_6878
SMALL_FISH_VARIETY_IDS
f_30008_
private static final ResourceLocation[]
ca
PATTERN_B_TEXTURE_LOCATIONS
field_6876
LARGE_FISH_VARIETY_IDS
f_30009_
private static final int
cb
PATTERNS
field_30381
field_30381
f_149059_
private static final int
cc
COLORS
field_30382
field_30382
f_149060_
public static final int[]
e
COMMON_VARIANTS
field_6879
COMMON_VARIANTS
f_30007_
private boolean
cd
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(bij$a arg0, bta arg1, bta 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
s(int arg0)
getBaseColor(int arg0)
method_6652(int arg0)
getBaseDyeColor(int variant)
m_30050_(int p_30051_)
public static DyeColor
t(int arg0)
getPatternColor(int arg0)
method_6651(int arg0)
getPatternDyeColor(int variant)
m_30052_(int p_30053_)
public static String
u(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(oc arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(oc arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
v(int arg0)
setVariant(int arg0)
method_6659(int arg0)
setVariant(int variant)
m_30056_(int arg0)
public boolean
c(int arg0)
isMaxGroupSizeReached(int arg0)
method_5969(int arg0)
spawnsTooManyForEachTry(int arg0)
m_7296_(int arg0)
public int
fH()
getVariant()
method_6644()
getVariant()
m_30042_()
public void
m(bue arg0)
saveToBucketTag(ItemStack arg0)
method_6455(class_1799 arg0)
copyDataToStack(ItemStack arg0)
m_142146_(C_1391_ arg0)
public ItemStack
b()
getBucketItemStack()
method_6452()
getBucketItem()
m_142563_()
protected SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
x_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected SoundEvent
c(awd arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
fz()
getFlopSound()
method_6457()
getFlopSound()
m_5699_()
private static int
x(int arg0)
getBaseColorIdx(int arg0)
method_6653(int arg0)
getBaseDyeColorIndex(int variant)
m_30060_(int p_30061_)
public float[]
fI()
getBaseColor()
method_6658()
getBaseColorComponents()
m_30043_()
private static int
y(int arg0)
getPatternColorIdx(int arg0)
method_6648(int arg0)
getPatternDyeColorIndex(int variant)
m_30062_(int p_30063_)
public float[]
fJ()
getPatternColor()
method_6655()
getPatternColorComponents()
m_30044_()
public static int
w(int arg0)
getBaseVariant(int arg0)
method_6656(int arg0)
getShape(int variant)
m_30058_(int p_30059_)
public int
fK()
getBaseVariant()
method_6654()
getShape()
m_30045_()
private static int
z(int arg0)
getPatternVariant(int arg0)
method_6645(int arg0)
getPattern(int variant)
m_30064_(int p_30065_)
public ResourceLocation
fL()
getPatternTextureLocation()
method_6646()
getVarietyId()
m_30046_()
public ResourceLocation
fM()
getBaseTextureLocation()
method_6650()
getShapeId()
m_30047_()
public SpawnGroupData
a(cas arg0, avo arg1, axl arg2, axz arg3, oc 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(awx<bij> arg0, cae arg1, axl arg2, gh arg3, Random arg4)
checkTropicalFishSpawnRules(EntityType<TropicalFish> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_38985(class_1299<class_1474> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canTropicalFishSpawn(EntityType<TropicalFishEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random)
m_186231_(C_513_<C_905_> p_186232_, C_1598_ p_186233_, C_529_ p_186234_, C_4675_ p_186235_, Random p_186236_)