net.minecraft.world.entity.animal

public abstract class AbstractSchoolingFish

extends AbstractFish

All mapped superinterfaces:

Nameable, CommandSource

azv
net.minecraft.world.entity.animal.AbstractSchoolingFish
net.minecraft.class_1425
net.minecraft.entity.passive.SchoolingFishEntity
net.minecraft.entity.passive.fish.AbstractGroupFishEntity
net.minecraft.server.v1_16_R2.EntityFishSchool

Field summary

Modifier and TypeField
private AbstractSchoolingFish
b
leader
field_6734
leader
field_212813_a
private int
c
schoolSize
field_6733
groupSize
field_212814_b

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
o()
registerGoals()
method_5959()
initGoals()
func_184651_r()
initPathfinder()
public int
eq()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
func_70641_bl()
getMaxSpawnGroup()
public int
eN()
getMaxSchoolSize()
method_6465()
getMaxGroupSize()
func_203704_dv()
protected boolean
eL()
canRandomSwim()
method_6456()
hasSelfControl()
func_212800_dy()
public boolean
eO()
isFollower()
method_6470()
hasLeader()
func_212802_dB()
public AbstractSchoolingFish
a(azv arg0)
startFollowing(AbstractSchoolingFish arg0)
method_6461(class_1425 arg0)
joinGroupOf(SchoolingFishEntity groupLeader)
func_212803_a(AbstractGroupFishEntity arg0)
public void
eP()
stopFollowing()
method_6466()
leaveGroup()
func_212808_dC()
private void
eU()
addFollower()
method_6462()
increaseGroupSize()
func_212807_dH()
private void
eV()
removeFollower()
method_6459()
decreaseGroupSize()
func_212806_dI()
public boolean
eQ()
canBeFollowed()
method_6469()
canHaveMoreFishInGroup()
func_212811_dD()
public void
j()
tick()
method_5773()
tick()
func_70071_h_()
tick()
public boolean
eR()
hasFollowers()
method_6467()
hasOtherFishInGroup()
func_212812_dE()
public boolean
eS()
inRangeOfLeader()
method_6464()
isCloseEnoughToLeader()
func_212809_dF()
public void
eT()
pathToLeader()
method_6463()
moveTowardLeader()
func_212805_dG()
public void
a(Stream<azv> arg0)
addFollowers(Stream<AbstractSchoolingFish> arg0)
method_6468(Stream<class_1425> arg0)
pullInOtherFish(Stream<SchoolingFishEntity> fish)
func_212810_a(Stream<AbstractGroupFishEntity> arg0)
public SpawnGroupData
a(bsh arg0, aop arg1, aqm arg2, aqz arg3, md 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, CompoundTag arg4)
func_213386_a(IServerWorld arg0, DifficultyInstance arg1, SpawnReason arg2, ILivingEntityData arg3, CompoundNBT arg4)
prepare(WorldAccess arg0, DifficultyDamageScaler arg1, EnumMobSpawn arg2, GroupDataEntity arg3, NBTTagCompound arg4)