Wandering Trader/ED


 * Entity data
 * : The number of ticks counted down until this wandering trader is forced to despawn. The wandering trader despawns when this value reaches 1.
 * : Is generated when the trading menu is opened for the first time.
 * : List of trade options.
 * A trade option.
 * : The first 'cost' item, without the Slot tag.
 * : May not exist. The second 'cost' item, without the Slot tag.
 * : 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.
 * : 1 or 0 (true/false) - true if this trade provides XP orb drops. All trades from naturally-generated villagers in Java Edition reward XP orbs.
 * : The item being sold for each set of cost items, without the Slot tag.
 * : The number of times this trade has been used. The trade becomes disabled when this is greater or equal to maxUses.
 * : Destination toward where this trader wanders.
 * : The X coordinate to wander toward.
 * : The Y coordinate to wander toward.
 * : The Z coordinate to wander toward.
 * : Each compound tag in this list is an item in the wandering trader's inventory, up to a maximum of 8 slots. Items in two or more slots that can be stacked together are automatically be condensed into one slot. If there are more than 8 slots, the last slot is removed until the total is 8. If there are 9 slots but two previous slots can be condensed, the last slot returns after the two other slots are combined. Wandering traders don't change their inventory automatically or drop items from it upon death. The inventory is currently unused.
 * An item in the inventory, excluding the Slot tag.
 * : Destination toward where this trader wanders.
 * : The X coordinate to wander toward.
 * : The Y coordinate to wander toward.
 * : The Z coordinate to wander toward.
 * : Each compound tag in this list is an item in the wandering trader's inventory, up to a maximum of 8 slots. Items in two or more slots that can be stacked together are automatically be condensed into one slot. If there are more than 8 slots, the last slot is removed until the total is 8. If there are 9 slots but two previous slots can be condensed, the last slot returns after the two other slots are combined. Wandering traders don't change their inventory automatically or drop items from it upon death. The inventory is currently unused.
 * An item in the inventory, excluding the Slot tag.