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
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intFields inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoal
DEFAULT_INTERVAL, forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ - 
Constructor Summary
ConstructorsConstructorDescriptionMoveBackToVillageGoal(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, triggerMethods 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:
 canUsein classRandomStrollGoal
 - 
getPosition
- Overrides:
 getPositionin classRandomStrollGoal
 
 -