Package net.minecraft.entity.ai.goal
Class FollowSchoolLeaderGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.FollowSchoolLeaderGoal
-
public class FollowSchoolLeaderGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private AbstractGroupFishEntity
mob
private int
nextStartTick
private int
timeToRecalcPath
-
Constructor Summary
Constructors Constructor Description FollowSchoolLeaderGoal(AbstractGroupFishEntity p_i49857_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
protected int
nextStartTick(AbstractGroupFishEntity p_212825_1_)
void
start()
void
stop()
void
tick()
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
mob
private final AbstractGroupFishEntity mob
-
timeToRecalcPath
private int timeToRecalcPath
-
nextStartTick
private int nextStartTick
-
-
Constructor Detail
-
FollowSchoolLeaderGoal
public FollowSchoolLeaderGoal(AbstractGroupFishEntity p_i49857_1_)
-
-
Method Detail
-
nextStartTick
protected int nextStartTick(AbstractGroupFishEntity p_212825_1_)
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classGoal
-
-