net.minecraft.world.entity.animal.fish

public abstract class WaterAnimal

extends PathfinderMob

All mapped superinterfaces:

SyncedDataHolder, DebugValueSource, Nameable, ItemOwner, SlotProvider, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, WaypointTransmitter, Waypoint, EquipmentUser, Leashable, Targeting

cvm
net.minecraft.world.entity.animal.fish.WaterAnimal
net.minecraft.class_1480
net.minecraft.entity.mob.WaterCreatureEntity
net.minecraft.src.C_432633_
net.minecraft.world.entity.animal.fish.EntityWaterAnimal

字段概要

修饰符与类型字段
public static final int
d
AMBIENT_SOUND_INTERVAL
field_52476
MIN_AMBIENT_SOUND_DELAY
f_433340_

构造函数概要

修饰符构造函数
protected (EntityType<? extends WaterAnimal> p_455938_, Level arg1)

方法概要

修饰符与类型方法
public boolean
a(dwr arg0)
checkSpawnObstruction(LevelReader arg0)
method_5957(class_4538 arg0)
canSpawn(WorldView arg0)
m_6914_(C_1599_ arg0)
public int
S()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
protected int
f(axf arg0)
getBaseExperienceReward(ServerLevel arg0)
method_6110(class_3218 arg0)
getExperienceToDrop(ServerWorld arg0)
m_213860_(C_12_ arg0)
protected void
a(axf arg0, int arg1)
handleAirSupply(ServerLevel arg0, int arg1)
method_6673(class_3218 arg0, int arg1)
tickWaterBreathingAir(ServerWorld world, int air)
m_441877_(C_12_ p_455644_, int arg1)
public void
aJ()
baseTick()
method_5670()
baseTick()
m_6075_()
public boolean
db()
isPushedByFluid()
method_5675()
isPushedByFluids()
m_6063_()
public boolean
aj_()
canBeLeashed()
method_5931()
canBeLeashed()
m_6573_()
public static boolean
c(cgu<? extends cvm> arg0, dwp arg1, cgt arg2, is arg3, bgr 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)
m_440341_(C_513_<? extends C_432633_> p_458230_, C_1598_ p_455660_, C_345845_ p_450245_, C_4675_ p_455224_, C_212974_ p_457959_)