net.minecraft.world.entity.animal

public abstract class WaterAnimal

extends PathfinderMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bey
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
dr()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_6040_()
public MobType
ek()
getMobType()
method_6046()
getGroup()
m_6336_()
getMonsterType()
public boolean
a(bwt 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(bke arg0)
getExperienceReward(Player arg0)
method_6110(class_1657 arg0)
getXpToDrop(PlayerEntity arg0)
m_6552_(C_1141_ arg0)
getExpValue(EntityHuman arg0)
protected void
a(int arg0)
handleAirSupply(int arg0)
method_6673(int arg0)
tickWaterBreathingAir(int air)
m_6229_(int arg0)
public void
ai()
baseTick()
method_5670()
baseTick()
m_6075_()
entityBaseTick()
public boolean
ck()
isPushedByFluid()
method_5675()
isPushedByFluids()
m_6063_()
public boolean
a(bke arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
m_6573_(C_1141_ arg0)
public static boolean
a(atk<? extends atu> arg0, bxe arg1, aty arg2, gg arg3, Random arg4)
checkUndergroundWaterCreatureSpawnRules(EntityType<? extends LivingEntity> arg0, ServerLevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_35174(class_1299<? extends class_1309> arg0, class_5425 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawnUnderground(EntityType<? extends LivingEntity> entityType, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_149076_(C_513_<? extends C_524_> p_149077_, C_1618_ p_149078_, C_529_ p_149079_, C_4675_ p_149080_, Random p_149081_)
public static boolean
a(gg arg0, bxe arg1)
isBaseStoneBelow(BlockPos arg0, ServerLevelAccessor arg1)
method_37360(class_2338 arg0, class_5425 arg1)
hasStoneFloor(BlockPos pos, ServerWorldAccess world)
m_181144_(C_4675_ p_181145_, C_1618_ p_181146_)
public static boolean
a(bxe arg0, gg arg1)
isDarkEnoughToSpawn(ServerLevelAccessor arg0, BlockPos arg1)
method_37359(class_5425 arg0, class_2338 arg1)
hasNoLight(ServerWorldAccess world, BlockPos pos)
m_181141_(C_1618_ p_181142_, C_4675_ p_181143_)