Package net.minecraft.entity.passive
Class FoxEntity.FollowParentGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.FollowParentGoal
net.minecraft.entity.passive.FoxEntity.FollowParentGoal
- Enclosing class:
- FoxEntity
class FoxEntity.FollowParentGoal extends FollowParentGoal
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
-
Constructor Summary
Constructors Constructor Description FollowParentGoal(FoxEntity fox, double speed)
-
Method Summary
Modifier and Type Method Description boolean
canStart()
boolean
shouldContinue()
void
start()
Methods inherited from class net.minecraft.entity.ai.goal.FollowParentGoal
stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
Field Details
-
fox
-
-
Constructor Details
-
FollowParentGoal
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classFollowParentGoal
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classFollowParentGoal
-
start
public void start()- Overrides:
start
in classFollowParentGoal
-