net.minecraft.entity.mob

public abstract class WaterCreatureEntity

extends PathAwareEntity

All mapped superinterfaces:

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

net.minecraft.world.entity.animal.fish.WaterAnimal
net.minecraft.class_1480
net.minecraft.entity.mob.WaterCreatureEntity

Field summary

Modifier and TypeField
public static final int
AMBIENT_SOUND_INTERVAL
field_52476
MIN_AMBIENT_SOUND_DELAY

Constructor summary

ModifierConstructor
protected (EntityType<? extends WaterCreatureEntity> 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()
protected int
getBaseExperienceReward(ServerLevel level)
method_6110(class_3218 arg0)
getExperienceToDrop(ServerWorld arg0)
protected void
handleAirSupply(ServerLevel level, int preTickAirSupply)
method_6673(class_3218 arg0, int arg1)
tickWaterBreathingAir(ServerWorld world, int air)
public void
baseTick()
method_5670()
baseTick()
public boolean
isPushedByFluid()
method_5675()
isPushedByFluids()
public boolean
canBeLeashed()
method_5931()
canBeLeashed()
public static boolean
checkSurfaceWaterAnimalSpawnRules(EntityType<? extends WaterAnimal> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random)
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)