Wizardry icon indicating copy to clipboard operation
Wizardry copied to clipboard

Make custom trade items support NBT tags

Open aks746 opened this issue 4 years ago • 3 comments

Hello. I am trying to add to the config new item to trade, but I don’t understand how to add items with NBT tags.

Like this items from Ancient Warfare 2: ancientwarfarenpc:coin.withTag({metal: "gold"}) ancientwarfarenpc:coin.withTag({metal: "silver"})

How do I add these items to the config? Thank you in advance for your help!

Minecraft version: 1.12.2 Wizardry version: 4.2.11 Other mods involved: Ancient Warfare 2.7.0.772

aks746 avatar Apr 20 '20 03:04 aks746

It is not currently possible to add items with NBT tags. You can add items with metadata using the syntax modid:item:metadata.

(I wonder why AW's coin values are specified with NBT? Seems like a very strange decision to me)

Electroblob77 avatar Apr 20 '20 10:04 Electroblob77

Actually, I might add this feature to a future version, I'll leave this open so I remember.

Electroblob77 avatar Apr 20 '20 10:04 Electroblob77

Hello!

Sorry to bother you again. I just want to write that I still hope for the option to use NBT in the configs for items to trade. AW has released a big update recently and I would like to integrate your mods more deeply with each other. :)

aks746 avatar May 13 '21 16:05 aks746