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 intprivate static intprivate static intprivate static 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, 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:
getPositionin classRandomStrollGoal
-
getPositionTowardsAnywhere
-
getPositionTowardsVillagerWhoWantsGolem
-
getPositionTowardsPoi
-
getRandomVillageSection
-
getRandomPoiWithinSection
-
doesVillagerWantGolem
-