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
Modifier and TypeFieldDescriptionprivate static final int
private static final int
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
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
Field Details
-
MAX_XZ_DIST
private static final int MAX_XZ_DIST- See Also:
-
MAX_Y_DIST
private static final int MAX_Y_DIST- See Also:
-
-
Constructor Details
-
MoveBackToVillageGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classRandomStrollGoal
-
getPosition
- Overrides:
getPosition
in classRandomStrollGoal
-