Package net.minecraft.entity.ai.goal
Class FollowSchoolLeaderGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowSchoolLeaderGoal
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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 Details
-
mob
-
timeToRecalcPath
private int timeToRecalcPath -
nextStartTick
private int nextStartTick
-
-
Constructor Details
-
FollowSchoolLeaderGoal
-
-
Method Details
-
nextStartTick
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-