- Entity data
- Tags common to all mobs
- Additional fields for mobs that can breed
- Profession:[until JE 1.14] The ID of the texture used for this villager. This also influences trading options.
- Riches: Currently unused. Increases by the number of emeralds traded to a villager any time they are traded.
- Career:[until JE 1.14] The ID of this villager's career. This also influences trading options and the villager's name in the GUI (if it does not have a CustomName). If 0, the next time offers are refreshed, the game will assign a new Career and reset CareerLevel to 1.
- CareerLevel:[until JE 1.14] The current level of this villager's trading options. Influences the trading options generated by the villager; if it is greater than their career's maximum level, no new offers are generated. Increments when a trade causes offers to be refreshed. If 0, the next trade to do this will assign a new Career and set CareerLevel to 1. Set to a high enough level and there will be no new trades to release (Career must be set to 1 or above).
- Willing: 1 or 0 (true/false) - true if the villager is willing to mate. Becomes true after certain trades (those which would cause offers to be refreshed), and false after mating.
- VillagerData:[upcoming: JE 1.14] Information about the villager’s type, profession, and level.
- level: The current xp level of this villager's profession. Influences the trading options generated by the villager. If it is greater than their profession's maximum level, no new offers are generated. Increments when the villager fills his trading xp bar. Also used for badge rendering.
- profession: A namespaced ID value indicating the villager's profession.
- type: A namespaced ID value indicating the villager's type.
- Gossip:[upcoming: JE 1.14] [more information needed]
- LastRestock:[upcoming: JE 1.14] The last tick the villager went to their work station to resupply their trades.
- Xp:[upcoming: JE 1.14] How much experience the villager currently has, increases with trading in various amounts.
- Brain:[upcoming: JE 1.14] Everything this villager has to keep in mind.
- memories: The memories of this villager.
- minecraft:meeting_point: Where this villager's meeting point is.
- pos: The X Y and Z values of the meeting point.
- dimension: The dimension ID of the meeting point.
- minecraft:home: Where this villager's bed is.
- pos: The X Y and Z values of the bed.
- dimension: The dimension ID of the bed.
- minecraft:job_site: Where this villager's workstation is.
- pos: The X Y and Z values of the workstation.
- dimension: The dimension ID of the workstation.
- minecraft:meeting_point: Where this villager's meeting point is.
- memories: The memories of this villager.
- Inventory: Each compound tag in this list is an item in the villager's inventory, up to a maximum of 8 slots. Items in two or more slots that can be stacked together will automatically be condensed into one slot. If there are more than 8 slots, the last slot will be removed until the total is 8. If there are 9 slots but two previous slots can be condensed, the last slot will be present after the two other slots are combined.
- An item in the inventory, excluding the Slot tag.
- Tags common to all items
- An item in the inventory, excluding the Slot tag.
- Offers: Is generated when the trading menu is opened for the first time.
- Recipes: List of trade options.
- A trade option.
- rewardExp: 1 or 0 (true/false) - Whether this trade will provide XP orb drops. All trades from naturally-generated villagers in Java Edition reward XP orbs.
- maxUses: The maximum number of times this trade can be used before it is disabled. Increases by a random amount from 2 to 12 when offers are refreshed.
- uses: The number of times this trade has been used. The trade becomes disabled when this is greater or equal to maxUses.
- buy: The first 'cost' item, without the Slot tag.
- Tags common to all items
- buyB: Optional. The second 'cost' item, without the Slot tag.
- Tags common to all items
- sell: The item being sold for each set of cost items, without the Slot tag.
- Tags common to all items
- xp:[upcoming: JE 1.14] How much experience the villager gets from this trade.
- priceMultiplier:[upcoming: JE 1.14] The multiplier currently applied to this trade's price.
- A trade option.
- Recipes: List of trade options.
Villager type
Main article: Villager/DV
[edit]Villager profession
Main article: Villager/DV2
[edit]