net.minecraft.world.entity.animal

public abstract class WaterAnimal

extends PathfinderMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bil
net.minecraft.world.entity.animal.WaterAnimal
net.minecraft.class_1480
net.minecraft.entity.mob.WaterCreatureEntity
net.minecraft.src.C_921_
net.minecraft.world.entity.animal.EntityWaterAnimal

Constructor summary

ModifierConstructor
protected (EntityType<? extends WaterAnimal> p_30342_, Level arg1)

Method summary

Modifier and TypeMethod
public boolean
dw()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_6040_()
public MobType
eq()
getMobType()
method_6046()
getGroup()
m_6336_()
public boolean
a(cag arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public int
J()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
protected int
d(bnr arg0)
getExperienceReward(Player arg0)
method_6110(class_1657 arg0)
getXpToDrop(PlayerEntity arg0)
m_6552_(C_1141_ arg0)
protected void
a(int arg0)
handleAirSupply(int arg0)
method_6673(int arg0)
tickWaterBreathingAir(int air)
m_6229_(int arg0)
public void
an()
baseTick()
method_5670()
baseTick()
m_6075_()
public boolean
cp()
isPushedByFluid()
method_5675()
isPushedByFluids()
m_6063_()
public boolean
a(bnr arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
m_6573_(C_1141_ arg0)
public static boolean
c(awx<? extends bil> arg0, cae arg1, axl arg2, gh arg3, Random arg4)
checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_38986(class_1299<? extends class_1480> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<? extends WaterCreatureEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random)
m_186237_(C_513_<? extends C_921_> p_186238_, C_1598_ p_186239_, C_529_ p_186240_, C_4675_ p_186241_, Random p_186242_)