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 Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate 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
Constructors - 
Method Summary
Modifier 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.RandomStrollGoal
canContinueToUse, canUse, setInterval, start, stop, triggerMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString 
- 
Field Details
- 
POI_SECTION_SCAN_RADIUS
private static final int POI_SECTION_SCAN_RADIUS- See Also:
 
 - 
VILLAGER_SCAN_RADIUS
private static final int VILLAGER_SCAN_RADIUS- See Also:
 
 - 
RANDOM_POS_XY_DISTANCE
private static final int RANDOM_POS_XY_DISTANCE- See Also:
 
 - 
RANDOM_POS_Y_DISTANCE
private static final int RANDOM_POS_Y_DISTANCE- See Also:
 
 
 - 
 - 
Constructor Details
- 
GolemRandomStrollInVillageGoal
 
 - 
 - 
Method Details
- 
getPosition
- Overrides:
 getPositionin classRandomStrollGoal
 - 
getPositionTowardsAnywhere
 - 
getPositionTowardsVillagerWhoWantsGolem
 - 
getPositionTowardsPoi
 - 
getRandomVillageSection
 - 
getRandomPoiWithinSection
 - 
doesVillagerWantGolem
 
 -