Package net.minecraft.entity.passive
Class FoxEntity.FollowGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.FollowParentGoal
-
- net.minecraft.entity.passive.FoxEntity.FollowGoal
-
- Enclosing class:
- FoxEntity
class FoxEntity.FollowGoal extends FollowParentGoal
-
-
Constructor Summary
Constructors Constructor Description FollowGoal(FoxEntity p_i50735_2_, double p_i50735_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
void
start()
-
Methods inherited from class net.minecraft.entity.ai.goal.FollowParentGoal
stop, tick
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Field Detail
-
fox
private final FoxEntity fox
-
-
Constructor Detail
-
FollowGoal
public FollowGoal(FoxEntity p_i50735_2_, double p_i50735_3_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classFollowParentGoal
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classFollowParentGoal
-
start
public void start()
- Overrides:
start
in classFollowParentGoal
-
-