net.minecraft.world.entity.animal

public abstract class AbstractSchoolingFish

extends AbstractFish

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Attackable, Targeting, Bucketable

buq
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
z()
registerGoals()
method_5959()
initGoals()
m_8099_()
public int
fH()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
public int
gf()
getMaxSchoolSize()
method_6465()
getMaxGroupSize()
m_6031_()
protected boolean
gd()
canRandomSwim()
method_6456()
hasSelfControl()
m_6004_()
public boolean
gg()
isFollower()
method_6470()
hasLeader()
m_27540_()
public AbstractSchoolingFish
a(buq arg0)
startFollowing(AbstractSchoolingFish arg0)
method_6461(class_1425 arg0)
joinGroupOf(SchoolingFishEntity groupLeader)
m_27525_(C_799_ arg0)
public void
gh()
stopFollowing()
method_6466()
leaveGroup()
m_27541_()
private void
gm()
addFollower()
method_6462()
increaseGroupSize()
m_27546_()
private void
gn()
removeFollower()
method_6459()
decreaseGroupSize()
m_27547_()
public boolean
gi()
canBeFollowed()
method_6469()
canHaveMoreFishInGroup()
m_27542_()
public void
l()
tick()
method_5773()
tick()
m_8119_()
public boolean
gj()
hasFollowers()
method_6467()
hasOtherFishInGroup()
m_27543_()
public boolean
gk()
inRangeOfLeader()
method_6464()
isCloseEnoughToLeader()
m_27544_()
public void
gl()
pathToLeader()
method_6463()
moveTowardLeader()
m_27545_()
public void
a(Stream<? extends buq> 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(cqk arg0, bgw arg1, bjk arg2, bjz arg3, qw 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)