Class FollowFlockLeaderGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.FollowFlockLeaderGoal
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
private AbstractSchoolingFish
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
canUse()
protected int
nextStartTick(AbstractSchoolingFish p_25252_)
void
start()
void
stop()
void
tick()
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
INTERVAL_TICKS
private static final int INTERVAL_TICKS- See Also:
- Constant Field Values
-
mob
-
timeToRecalcPath
private int timeToRecalcPath -
nextStartTick
private int nextStartTick
-
-
Constructor Details
-
FollowFlockLeaderGoal
-
-
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()
-