You can also download the update
on GitHub
- All recipes now apply to wandering traders as well
- Added a new field merchant-type to check the entity type of the merchant (can be villager or wandering-trader)
- Certain villager fields now return null or 0 if the merchant is not a villager
- Only recipe-count, world and inventory fields return sensible values, because wandering traders apparently have inventories
An example of using the new merchant-type field:
trader:
desc: Quintuple the amount you get from all wandering trader recipes
when:
merchant-type: wandering_trader
do:
set:
result.amount: "*= 5"