net.minecraft.world.entity.animal

public abstract class AbstractSchoolingFish

extends AbstractFish

All mapped superinterfaces:

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

cgx
net.minecraft.world.entity.animal.AbstractSchoolingFish
net.minecraft.class_1425
net.minecraft.entity.passive.SchoolingFishEntity
net.minecraft.world.entity.animal.EntityFishSchool

Field summary

Modifier and TypeField
private AbstractSchoolingFish
a
leader
field_6734
leader
private int
b
schoolSize
field_6733
groupSize

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
E()
registerGoals()
method_5959()
initGoals()
public int
aj()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
public int
gt()
getMaxSchoolSize()
method_6465()
getMaxGroupSize()
protected boolean
x()
canRandomSwim()
method_6456()
hasSelfControl()
public boolean
gu()
isFollower()
method_6470()
hasLeader()
public AbstractSchoolingFish
a(cgx arg0)
startFollowing(AbstractSchoolingFish arg0)
method_6461(class_1425 arg0)
joinGroupOf(SchoolingFishEntity groupLeader)
public void
gv()
stopFollowing()
method_6466()
leaveGroup()
private void
gA()
addFollower()
method_6462()
increaseGroupSize()
private void
gB()
removeFollower()
method_6459()
decreaseGroupSize()
public boolean
gw()
canBeFollowed()
method_6469()
canHaveMoreFishInGroup()
public void
h()
tick()
method_5773()
tick()
public boolean
gx()
hasFollowers()
method_6467()
hasOtherFishInGroup()
public boolean
gy()
inRangeOfLeader()
method_6464()
isCloseEnoughToLeader()
public void
gz()
pathToLeader()
method_6463()
moveTowardLeader()
public void
a(Stream<? extends cgx> arg0)
addFollowers(Stream<? extends AbstractSchoolingFish> arg0)
method_6468(Stream<? extends class_1425> arg0)
pullInOtherFish(Stream<? extends SchoolingFishEntity> fish)
public SpawnGroupData
a(dha arg0, bsj arg1, bus arg2, bwb arg3)
finalizeSpawn(ServerLevelAccessor arg0, DifficultyInstance arg1, EntitySpawnReason 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)