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 SummaryFieldsFields inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoalDEFAULT_INTERVAL, forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
- 
Constructor SummaryConstructorsConstructorDescriptionMoveBackToVillageGoal(PathfinderMob p_25568_, double p_25569_, boolean p_25570_)
- 
Method SummaryMethods inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoalcanContinueToUse, setInterval, start, stop, trigger
- 
Field Details- 
MAX_XZ_DISTprivate static final int MAX_XZ_DIST- See Also:
- Constant Field Values
 
- 
MAX_Y_DISTprivate static final int MAX_Y_DIST- See Also:
- Constant Field Values
 
 
- 
- 
Constructor Details- 
MoveBackToVillageGoal
 
- 
- 
Method Details- 
canUsepublic boolean canUse()- Overrides:
- canUsein class- RandomStrollGoal
 
- 
getPosition- Overrides:
- getPositionin class- RandomStrollGoal
 
 
-