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