Package net.minecraft.entity.ai.goal
Class PatrolVillageGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.RandomWalkingGoal
net.minecraft.entity.ai.goal.PatrolVillageGoal
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
doesVillagerWantGolem
(VillagerEntity p_234028_1_) protected Vector3d
private Vector3d
private Vector3d
private Vector3d
private BlockPos
getRandomPoiWithinSection
(SectionPos p_234029_1_) private SectionPos
Methods inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
canContinueToUse, canUse, setInterval, start, stop, trigger
-
Constructor Details
-
PatrolVillageGoal
-
-
Method Details
-
getPosition
- Overrides:
getPosition
in classRandomWalkingGoal
-
getPositionTowardsAnywhere
-
getPositionTowardsVillagerWhoWantsGolem
-
getPositionTowardsPoi
-
getRandomVillageSection
-
getRandomPoiWithinSection
-
doesVillagerWantGolem
-