net.minecraft.world.entity.animal

public abstract class AbstractSchoolingFish

extends AbstractFish

All mapped superinterfaces:

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

cfd
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
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
public int
fN()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
public int
gm()
getMaxSchoolSize()
method_6465()
getMaxGroupSize()
m_6031_()
protected boolean
gk()
canRandomSwim()
method_6456()
hasSelfControl()
m_6004_()
public boolean
gn()
isFollower()
method_6470()
hasLeader()
m_27540_()
public AbstractSchoolingFish
a(cfd arg0)
startFollowing(AbstractSchoolingFish arg0)
method_6461(class_1425 arg0)
joinGroupOf(SchoolingFishEntity groupLeader)
m_27525_(C_799_ arg0)
public void
go()
stopFollowing()
method_6466()
leaveGroup()
m_27541_()
private void
gt()
addFollower()
method_6462()
increaseGroupSize()
m_27546_()
private void
gu()
removeFollower()
method_6459()
decreaseGroupSize()
m_27547_()
public boolean
gp()
canBeFollowed()
method_6469()
canHaveMoreFishInGroup()
m_27542_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
public boolean
gq()
hasFollowers()
method_6467()
hasOtherFishInGroup()
m_27543_()
public boolean
gr()
inRangeOfLeader()
method_6464()
isCloseEnoughToLeader()
m_27544_()
public void
gs()
pathToLeader()
method_6463()
moveTowardLeader()
m_27545_()
public void
a(Stream<? extends cfd> 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(ddl arg0, bqp arg1, btr arg2, buh arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, MobSpawnType arg2, SpawnGroupData arg3)
method_5943(class_5425 arg0, class_1266 arg1, class_3730 arg2, class_1315 arg3)
initialize(ServerWorldAccess arg0, LocalDifficulty arg1, SpawnReason arg2, EntityData arg3)
m_6518_(C_1618_ p_27529_, C_469_ p_27530_, C_529_ p_27531_, C_542_ arg3)