net.minecraft.entity.passive

public abstract class WaterAnimalEntity

extends PassiveEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable

net.minecraft.world.entity.animal.AgeableWaterCreature
net.minecraft.class_9866
net.minecraft.entity.passive.WaterAnimalEntity

Constructor summary

ModifierConstructor
protected (EntityType<? extends WaterAnimalEntity> type, World level)

Method summary

Modifier and TypeMethod
public boolean
checkSpawnObstruction(LevelReader level)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
public int
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
public int
getBaseExperienceReward(ServerLevel level)
method_6110(class_3218 arg0)
getExperienceToDrop(ServerWorld arg0)
protected void
handleAirSupply(int preTickAirSupply)
method_61456(int arg0)
tickBreathing(int air)
public void
baseTick()
method_5670()
baseTick()
public boolean
isPushedByFluid()
method_5675()
isPushedByFluids()
public boolean
canBeLeashed()
method_5931()
canBeLeashed()
public static boolean
checkSurfaceAgeableWaterCreatureSpawnRules(EntityType<? extends AgeableWaterCreature> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random)
method_61455(class_1299<? extends class_9866> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<? extends WaterAnimalEntity> type, WorldAccess world, SpawnReason reason, BlockPos pos, Random random)