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 int
private static int
private static int
private static 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
-
Field Details
-
POI_SECTION_SCAN_RADIUS
private static final int POI_SECTION_SCAN_RADIUS- See Also:
- Constant Field Values
-
VILLAGER_SCAN_RADIUS
private static final int VILLAGER_SCAN_RADIUS- See Also:
- Constant Field Values
-
RANDOM_POS_XY_DISTANCE
private static final int RANDOM_POS_XY_DISTANCE- See Also:
- Constant Field Values
-
RANDOM_POS_Y_DISTANCE
private static final int RANDOM_POS_Y_DISTANCE- See Also:
- Constant Field Values
-
-
Constructor Details
-
GolemRandomStrollInVillageGoal
-
-
Method Details
-
getPosition
- Overrides:
getPosition
in classRandomStrollGoal
-
getPositionTowardsAnywhere
-
getPositionTowardsVillagerWhoWantsGolem
-
getPositionTowardsPoi
-
getRandomVillageSection
-
getRandomPoiWithinSection
-
doesVillagerWantGolem
-