- Entity data
- Tags common to all mobs
- Additional fields for mobs that can breed
- 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: 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.
- Gossips: Pieces of gossip that can be exchanged between villagers when they meet.
- A piece of gossip.
- Type: An ID value indicating the type of gossip. The possible values are
major_negative,minor_negative,major_positive,minor_positive,trading, andgolem. - Value: The strength of the gossip.
- TargetMost The most significant half of the target's UUID. Joined with
TargetLeastto form the full UUID. Formajor_negative,minor_negative,major_positive,minor_positive, andtrading, the target is the player who caused the gossip. Forgolem, the target is the villager who started the gossip. - TargetLeast The least significant half of the target's UUID. Joined with
TargetMostto form the full UUID.
- Type: An ID value indicating the type of gossip. The possible values are
- A piece of gossip.
- LastRestock: The last tick the villager went to their job site block to resupply their trades.
- LastGossipDelay:[upcoming: JE 1.14.3] [more information needed]
- Xp: How much experience the villager currently has, increases with trading in various amounts.
- 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: How much experience the villager gets from this trade.
- priceMultiplier: The multiplier on the demand price adjuster; the final adjusted price will be added to the first 'cost' item's price.
- specialPrice: A modifier added to the original price of the first 'cost' item.
- demand: The price adjuster of the first 'cost' item based on demand. Updated when a villager resupply.
- A trade option.
- Recipes: List of trade options.
Villager type
Main article: Villager/DV
[edit]Villager profession
Main article: Villager/DV2
[edit]