net.minecraft.world.entity.animal

public abstract class AbstractSchoolingFish

extends AbstractFish

All mapped superinterfaces:

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

chv
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
B()
registerGoals()
method_5959()
initGoals()
public int
ad()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
public int
gp()
getMaxSchoolSize()
method_6465()
getMaxGroupSize()
protected boolean
x()
canRandomSwim()
method_6456()
hasSelfControl()
public boolean
gq()
isFollower()
method_6470()
hasLeader()
public AbstractSchoolingFish
a(chv arg0)
startFollowing(AbstractSchoolingFish arg0)
method_6461(class_1425 arg0)
joinGroupOf(SchoolingFishEntity groupLeader)
public void
gr()
stopFollowing()
method_6466()
leaveGroup()
private void
gw()
addFollower()
method_6462()
increaseGroupSize()
private void
gx()
removeFollower()
method_6459()
decreaseGroupSize()
public boolean
gs()
canBeFollowed()
method_6469()
canHaveMoreFishInGroup()
public void
h()
tick()
method_5773()
tick()
public boolean
gt()
hasFollowers()
method_6467()
hasOtherFishInGroup()
public boolean
gu()
inRangeOfLeader()
method_6464()
isCloseEnoughToLeader()
public void
gv()
pathToLeader()
method_6463()
moveTowardLeader()
public void
a(Stream<? extends chv> arg0)
addFollowers(Stream<? extends AbstractSchoolingFish> arg0)
method_6468(Stream<? extends class_1425> arg0)
pullInOtherFish(Stream<? extends SchoolingFishEntity> fish)
public SpawnGroupData
a(dhz arg0, bth arg1, bvq arg2, bwz 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)