
Villager Food Tags
Lets villagers pick up and eat modded foods in Minecraft 1.21.1
Want villagers to be able to eat Pumpkin Pie, berries or foods added by your favourite mods?
Add those items or tags to the config or a datapack and this mod lets villagers use them.
Customise what villagers eat without waiting for your favourite mods to update to Minecraft 26.4
Features
- Define what food items villagers pick up and use
- Uses NeoForge's item data map system for flexible configuration
- Works seamlessly with datapacks and modpacks
- Minecraft 1.21.1+
- NeoForge 21.1.244+
Datapack Usage
Villager Food Tags supports both config-based food values and datapack food values.data/villagerfoodtags/data_maps/item/villager_food.json
Edit the villager_food.json file to include the following example:
{
"replace": false,
"values": {
"#c:foods/breads": 4,
"#c:crops": 1,
"#c:foods/pie": 6,
"#c:foods/berry": 1,
"minecraft:apple": 1
}
}
https://github.com/neoforged/NeoForge/tree/1.20.6/src/generated/resources/data/c/tags/items/foods
正在加载版本记录…
正在加载评论…
评论在新手盒子客户端中发表,这里同步展示。