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 booleancanGoToVillage()booleancanStart()booleanshouldContinue()voidstart()Methods inherited from class net.minecraft.entity.ai.goal.GoToVillageGoal
tickMethods 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:
canStartin classGoToVillageGoal
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinuein classGoToVillageGoal
-
canGoToVillage
private boolean canGoToVillage()
-