pocketmine\entity\ai\villager
Classes
| Name | Kind | Summary |
|---|---|---|
| DoorInteraction 5.46.0 | class | Opens the doors on a mob's path and closes them behind it (vanilla InteractWithDoor): a closed door (not iron) in the current or next node o |
| GatherAtBellGoal 5.46.0 | class | In the afternoon villagers meet at the nearest bell (or, without one, around another villager) and mingle (vanilla behavior |
| GoHomeGoal 5.46.0 | class | Walks back to the claimed bed in the evening (home schedule) and stays around it |
| HarvestCropsGoal 5.46.0 | class | Farmers harvest grown wheat, carrots, potatoes and beetroots around them during working hours and replant the farmland with seeds from their |
| PlayGoal 5.46.0 | class | Baby villagers chase each other during play time (vanilla behavior |
| ShareFoodGoal 5.46.0 | class | A villager with a surplus of food (6 bread, or 24 carrots, potatoes or beetroots) walks to a villager that needs some and throws it half of |
| SleepInBedGoal 5.46.0 | class | Walks to the claimed bed at night and sleeps in it until morning (vanilla behavior |
| VillagerGoal 5.46.0 | class | Base of the villager schedule goals: walking to a block (bed, job site, bell, crop) |
| WorkAtJobSiteGoal 5.46.0 | class | Walks to the claimed job site during working hours and works there (vanilla behavior |
