Skip to content

pocketmine\entity\ai\villager ​

Classes ​

NameKindSummary
DoorInteraction 5.46.0classOpens 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.0classIn the afternoon villagers meet at the nearest bell (or, without one, around another villager) and mingle (vanilla behavior
GoHomeGoal 5.46.0classWalks back to the claimed bed in the evening (home schedule) and stays around it
HarvestCropsGoal 5.46.0classFarmers harvest grown wheat, carrots, potatoes and beetroots around them during working hours and replant the farmland with seeds from their
PlayGoal 5.46.0classBaby villagers chase each other during play time (vanilla behavior
ShareFoodGoal 5.46.0classA 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.0classWalks to the claimed bed at night and sleeps in it until morning (vanilla behavior
VillagerGoal 5.46.0classBase of the villager schedule goals: walking to a block (bed, job site, bell, crop)
WorkAtJobSiteGoal 5.46.0classWalks to the claimed job site during working hours and works there (vanilla behavior

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.