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
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private 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
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
doesVillagerWantGolem
(Villager p_25406_) protected Vec3
private Vec3
private Vec3
private Vec3
private BlockPos
getRandomPoiWithinSection
(SectionPos p_25408_) private SectionPos
Methods inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoal
canContinueToUse, canUse, 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
-
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:
getPosition
in classRandomStrollGoal
-
getPositionTowardsAnywhere
-
getPositionTowardsVillagerWhoWantsGolem
-
getPositionTowardsPoi
-
getRandomVillageSection
-
getRandomPoiWithinSection
-
doesVillagerWantGolem
-