Class GolemRandomStrollInVillageGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.RandomStrollGoal
net.minecraft.world.entity.ai.goal.GolemRandomStrollInVillageGoal
- 
Nested Class Summary
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static intprivate static intprivate static intprivate static intFields inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoalDEFAULT_INTERVAL, forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate booleandoesVillagerWantGolem(Villager p_25406_)protected Vec3private Vec3private Vec3private Vec3private BlockPosgetRandomPoiWithinSection(SectionPos p_25408_)private SectionPosMethods inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoalcanContinueToUse, canUse, setInterval, start, stop, trigger
- 
Field Details- 
POI_SECTION_SCAN_RADIUSprivate static final int POI_SECTION_SCAN_RADIUS- See Also:
- Constant Field Values
 
- 
VILLAGER_SCAN_RADIUSprivate static final int VILLAGER_SCAN_RADIUS- See Also:
- Constant Field Values
 
- 
RANDOM_POS_XY_DISTANCEprivate static final int RANDOM_POS_XY_DISTANCE- See Also:
- Constant Field Values
 
- 
RANDOM_POS_Y_DISTANCEprivate static final int RANDOM_POS_Y_DISTANCE- See Also:
- Constant Field Values
 
 
- 
- 
Constructor Details- 
GolemRandomStrollInVillageGoal
 
- 
- 
Method Details- 
getPosition- Overrides:
- getPositionin class- RandomStrollGoal
 
- 
getPositionTowardsAnywhere
- 
getPositionTowardsVillagerWhoWantsGolem
- 
getPositionTowardsPoi
- 
getRandomVillageSection
- 
getRandomPoiWithinSection
- 
doesVillagerWantGolem
 
-