Package net.minecraft.entity.ai.goal
Class FollowGroupLeaderGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowGroupLeaderGoal
public class FollowGroupLeaderGoal extends Goal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control -
Field Summary
Fields Modifier and Type Field Description private intcheckSurroundingDelayprivate SchoolingFishEntityfishprivate intmoveDelay -
Constructor Summary
Constructors Constructor Description FollowGroupLeaderGoal(SchoolingFishEntity fish) -
Method Summary
Modifier and Type Method Description booleancanStart()protected intgetSurroundingSearchDelay(SchoolingFishEntity fish)booleanshouldContinue()voidstart()voidstop()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
fish
-
moveDelay
private int moveDelay -
checkSurroundingDelay
private int checkSurroundingDelay
-
-
Constructor Details
-
FollowGroupLeaderGoal
-
-
Method Details
-
getSurroundingSearchDelay
-
canStart
public boolean canStart() -
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-