Class MoveBackToVillageGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.RandomStrollGoal
net.minecraft.world.entity.ai.goal.MoveBackToVillageGoal
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoal
DEFAULT_INTERVAL, forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
Constructor Summary
ConstructorDescriptionMoveBackToVillageGoal(PathfinderMob p_25568_, double p_25569_, boolean p_25570_)
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoal
canContinueToUse, setInterval, start, stop, trigger
-
Field Details
-
MAX_XZ_DIST
private static final int MAX_XZ_DIST- See Also:
- Constant Field Values
-
MAX_Y_DIST
private static final int MAX_Y_DIST- See Also:
- Constant Field Values
-
-
Constructor Details
-
MoveBackToVillageGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classRandomStrollGoal
-
getPosition
- Overrides:
getPosition
in classRandomStrollGoal
-