Data component format/villager food

Minecraft Wiki article. Categories: Data_component_format_subpages

📌 Mirrored from Minecraft Wiki

This article is reproduced from Data component format/villager food on the Minecraft Wiki. Mirrored from revision 3678261. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.

    • [NBT Compound / JSON Object] minecraft:villager_food: If present, villagers will be able to pick up and eat the item.
      • [Int] nutrition: A positive integer representing how many nutrition points the item provides to villagers.

Sources