Doing a command to convert objects

Started by FelipexX13s on Thu, 07/22/2021 - 20:39

Topic category: Advanced modding

Last seen on 16:27, 7. Aug 2021
Joined Apr 2021

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Doing a command to convert objects
Thu, 07/22/2021 - 20:39

I am making a coin mod, I want to execute a command that converts 64 bronze coins into 1 silver coin, when executing it, it works, but if you have only one bronze coin in your inventory it already converts it into a silver one, and I can't find the way to make that only if you have 64 works, could someone help me?