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