CVT Commands - SpaceCat97/SpaceCats-Wikis GitHub Wiki

Commands for Custom Villager Trades

These commands are all experimental features and could break!

/reloadCVT

Reloads villager trades on the fly, meaning you don't have to restart your game when you change a config file.

/exportCVT

Exports all trades to config/custom trades/exported. You will have to copy these to config/custom trades if you want to use them.

/addCVT

Add a trade using the command ingame, formatting: /addCVT profession offerItemKey offerAmount requestItemKey requestAmount tradeExp maxUses villagerLevel

  • profession: the profession you want to modify, eg. minecraft:farmer
  • offerItemKey: the item that the villager will GIVE you
  • offerAmount: how many items the villager will GIVE you
  • requestItemKey: the item that the villager will TAKE from you
  • requestAmount: how many items the villager will TAKE from you
  • tradeExp: how much experience the villager earns from this trade
  • maxUses: how many trades the villager can make before restocking
  • villagerLevel: the level that the trade becomes available (1-5)

/removeCVT

Takes one argument, the UTID (unique trade ID) - can only remove trades added by this mod.