Replace Emeralds as currency with custom item

Started by Bradda Bear on

Topic category: Help with modding (Java Edition)

Last seen on 15:04, 25. Oct 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Replace Emeralds as currency with custom item
Thu, 10/21/2021 - 16:39 (edited)

I'm working on a mod that adds coins (Iron, Gold, Diamond, and Netherite coins) to the game. My problem is that I want villagers to trade with these coins instead of Emeralds.

Should I just set up custom loot tables and replace the vanilla ones? If yes, how would one do this (for each profession and for the Wandering Trader)? :) 

Just to clarify: I don't want to add new trades to the game. I just want to replace Emeralds as currency using my modded coins and not by just changing the Emerald texture.  

Thanks in advance :) 

Edited by Bradda Bear on Thu, 10/21/2021 - 16:39