net.minecraft.world.entity.animal

public abstract class AbstractSchoolingFish

extends AbstractFish

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Bucketable

bmg
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
fp()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
public int
fM()
getMaxSchoolSize()
method_6465()
getMaxGroupSize()
m_6031_()
protected boolean
fK()
canRandomSwim()
method_6456()
hasSelfControl()
m_6004_()
public boolean
fN()
isFollower()
method_6470()
hasLeader()
m_27540_()
public AbstractSchoolingFish
a(bmg arg0)
startFollowing(AbstractSchoolingFish arg0)
method_6461(class_1425 arg0)
joinGroupOf(SchoolingFishEntity groupLeader)
m_27525_(C_799_ arg0)
public void
fO()
stopFollowing()
method_6466()
leaveGroup()
m_27541_()
private void
fT()
addFollower()
method_6462()
increaseGroupSize()
m_27546_()
private void
fU()
removeFollower()
method_6459()
decreaseGroupSize()
m_27547_()
public boolean
fP()
canBeFollowed()
method_6469()
canHaveMoreFishInGroup()
m_27542_()
public void
k()
tick()
method_5773()
tick()
m_8119_()
public boolean
fQ()
hasFollowers()
method_6467()
hasOtherFishInGroup()
m_27543_()
public boolean
fR()
inRangeOfLeader()
method_6464()
isCloseEnoughToLeader()
m_27544_()
public void
fS()
pathToLeader()
method_6463()
moveTowardLeader()
m_27545_()
public void
a(Stream<? extends bmg> 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(cgp arg0, azk arg1, bbj arg2, bbx 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)