net.minecraft.world.entity.animal

public abstract class AbstractSchoolingFish

extends AbstractFish

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Bucketable

bnd
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
u()
registerGoals()
method_5959()
initGoals()
m_8099_()
public int
fo()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
public int
fL()
getMaxSchoolSize()
method_6465()
getMaxGroupSize()
m_6031_()
protected boolean
fJ()
canRandomSwim()
method_6456()
hasSelfControl()
m_6004_()
public boolean
fM()
isFollower()
method_6470()
hasLeader()
m_27540_()
public AbstractSchoolingFish
a(bnd arg0)
startFollowing(AbstractSchoolingFish arg0)
method_6461(class_1425 arg0)
joinGroupOf(SchoolingFishEntity groupLeader)
m_27525_(C_799_ arg0)
public void
fN()
stopFollowing()
method_6466()
leaveGroup()
m_27541_()
private void
fS()
addFollower()
method_6462()
increaseGroupSize()
m_27546_()
private void
fT()
removeFollower()
method_6459()
decreaseGroupSize()
m_27547_()
public boolean
fO()
canBeFollowed()
method_6469()
canHaveMoreFishInGroup()
m_27542_()
public void
k()
tick()
method_5773()
tick()
m_8119_()
public boolean
fP()
hasFollowers()
method_6467()
hasOtherFishInGroup()
m_27543_()
public boolean
fQ()
inRangeOfLeader()
method_6464()
isCloseEnoughToLeader()
m_27544_()
public void
fR()
pathToLeader()
method_6463()
moveTowardLeader()
m_27545_()
public void
a(Stream<? extends bnd> 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(chm arg0, bah arg1, bcg arg2, bcu arg3, pj 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)