net.minecraft.world.entity.animal

public abstract class WaterAnimal

extends PathfinderMob

All mapped superinterfaces:

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

ciz
net.minecraft.world.entity.animal.WaterAnimal
net.minecraft.class_1480
net.minecraft.entity.mob.WaterCreatureEntity
net.minecraft.world.entity.animal.EntityWaterAnimal

Field summary

Modifier and TypeField
public static final int
d
AMBIENT_SOUND_INTERVAL
field_52476
MIN_AMBIENT_SOUND_DELAY

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(dhl arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
public int
Q()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
protected int
e(ash arg0)
getBaseExperienceReward(ServerLevel arg0)
method_6110(class_3218 arg0)
getXpToDrop(ServerWorld arg0)
protected void
t(int arg0)
handleAirSupply(int arg0)
method_6673(int arg0)
tickWaterBreathingAir(int air)
public void
az()
baseTick()
method_5670()
baseTick()
public boolean
cJ()
isPushedByFluid()
method_5675()
isPushedByFluids()
public boolean
y()
canBeLeashed()
method_5931()
canBeLeashed()
public static boolean
c(bvr<? extends ciz> arg0, dhj arg1, bvq arg2, jh arg3, bam arg4)
checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> arg0, LevelAccessor arg1, EntitySpawnReason 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)