Selling Items to NPC for currency

Started by Pache on

Topic category: Help with modding (Java Edition)

Last seen on 14:07, 15. Feb 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Selling Items to NPC for currency

I'm making a mod where I want to be able to sell any item through a GUI. I'm not really sure how to go about giving every item a price, would I use tags? obviously I shouldn't just if  else if else if else if else through every single item, but I'm not sure how i should do it.