net.minecraft.world.entity.animal

public abstract class AgeableWaterCreature

extends AgeableMob

All mapped superinterfaces:

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

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(dgm arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
public int
T()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
public int
e(ard arg0)
getBaseExperienceReward(ServerLevel arg0)
method_6110(class_3218 arg0)
getExperienceToDrop(ServerWorld arg0)
protected void
r(int arg0)
handleAirSupply(int arg0)
method_61456(int arg0)
tickBreathing(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
b(but<? extends cgy> arg0, dgk arg1, bus arg2, ji arg3, azh arg4)
checkSurfaceAgeableWaterCreatureSpawnRules(EntityType<? extends AgeableWaterCreature> arg0, LevelAccessor arg1, EntitySpawnReason arg2, BlockPos arg3, RandomSource arg4)
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)