net.minecraft.world.entity.animal

public abstract class WaterAnimal

extends PathfinderMob

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting

bsl
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
dK()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_6040_()
public MobType
eJ()
getMobType()
method_6046()
getGroup()
m_6336_()
public boolean
a(cml arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public int
K()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
public int
dX()
getExperienceReward()
method_6110()
getXpToDrop()
m_213860_()
protected void
b(int arg0)
handleAirSupply(int arg0)
method_6673(int arg0)
tickWaterBreathingAir(int air)
m_6229_(int arg0)
public void
ao()
baseTick()
method_5670()
baseTick()
m_6075_()
public boolean
cv()
isPushedByFluid()
method_5675()
isPushedByFluids()
m_6063_()
public boolean
a(bym arg0)
canBeLeashed(Player arg0)
method_5931(class_1657 arg0)
canBeLeashedBy(PlayerEntity arg0)
m_6573_(C_1141_ arg0)
public static boolean
c(bfl<? extends bsl> arg0, cmj arg1, bgb arg2, gt arg3, apo arg4)
checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, RandomSource arg4)
method_38986(class_1299<? extends class_1480> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<? extends WaterCreatureEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random)
m_218282_(C_513_<? extends C_921_> p_218283_, C_1598_ p_218284_, C_529_ p_218285_, C_4675_ p_218286_, C_212974_ p_218287_)