net.minecraft.world.entity.animal

public abstract class AbstractSchoolingFish

extends AbstractFish

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Bucketable

bdw
net.minecraft.world.entity.animal.AbstractSchoolingFish
net.minecraft.class_1425
net.minecraft.entity.passive.SchoolingFishEntity
net.minecraft.src.C_799_
net.minecraft.world.entity.animal.EntityFishSchool

Field summary

Modifier and TypeField
private AbstractSchoolingFish
b
leader
field_6734
leader
f_27520_
private int
c
schoolSize
field_6733
groupSize
f_27521_

Constructor summary

ModifierConstructor
public (EntityType<? extends AbstractSchoolingFish> p_27524_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
v()
registerGoals()
method_5959()
initGoals()
m_8099_()
initPathfinder()
public int
fb()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
getMaxSpawnGroup()
public int
fx()
getMaxSchoolSize()
method_6465()
getMaxGroupSize()
m_6031_()
protected boolean
fv()
canRandomSwim()
method_6456()
hasSelfControl()
m_6004_()
public boolean
fy()
isFollower()
method_6470()
hasLeader()
m_27540_()
public AbstractSchoolingFish
a(bdw arg0)
startFollowing(AbstractSchoolingFish arg0)
method_6461(class_1425 arg0)
joinGroupOf(SchoolingFishEntity groupLeader)
m_27525_(C_799_ arg0)
public void
fz()
stopFollowing()
method_6466()
leaveGroup()
m_27541_()
private void
fE()
addFollower()
method_6462()
increaseGroupSize()
m_27546_()
private void
fF()
removeFollower()
method_6459()
decreaseGroupSize()
m_27547_()
public boolean
fA()
canBeFollowed()
method_6469()
canHaveMoreFishInGroup()
m_27542_()
public void
k()
tick()
method_5773()
tick()
m_8119_()
tick()
public boolean
fB()
hasFollowers()
method_6467()
hasOtherFishInGroup()
m_27543_()
public boolean
fC()
inRangeOfLeader()
method_6464()
isCloseEnoughToLeader()
m_27544_()
public void
fD()
pathToLeader()
method_6463()
moveTowardLeader()
m_27545_()
public void
a(Stream<? extends bdw> arg0)
addFollowers(Stream<? extends AbstractSchoolingFish> arg0)
method_6468(Stream<? extends class_1425> arg0)
pullInOtherFish(Stream<? extends SchoolingFishEntity> fish)
m_27533_(Stream<? extends C_799_> arg0)
public SpawnGroupData
a(bxd arg0, ary arg1, atx arg2, aul arg3, na arg4)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3, CompoundTag arg4)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3, class_2487 arg4)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3, NbtCompound arg4)
m_6518_(C_1618_ p_27529_, C_469_ p_27530_, C_529_ p_27531_, C_542_ p_27532_, C_4917_ arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)