net.minecraft.world.entity.animal

public abstract class WaterAnimal

extends PathfinderMob

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting

cgg
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
a(dcz arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public int
R()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
protected int
eg()
getBaseExperienceReward()
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
aw()
baseTick()
method_5670()
baseTick()
m_6075_()
public boolean
cC()
isPushedByFluid()
method_5675()
isPushedByFluids()
m_6063_()
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()
m_6573_()
public static boolean
c(bsx<? extends cgg> arg0, dcx arg1, btr arg2, jd arg3, ayw 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_)