Currency system with coins

Started by Mat_Master on

Topic category: Help with modding (Java Edition)

Last seen on 13:38, 10. Jan 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Currency system with coins

Hello!

I would really like to have a currency system in my mod. An example is that when you have 10 bronze coins you can change them with a keybind or a rightclick into 1 silver coin. Is it possible to make a system like that?

Thanks for the help!

Last seen on 17:51, 2. May 2021
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can make a keybind by…
Sun, 08/16/2020 - 20:39

You can make a keybind by going to new element, pressing k or selecting keybind, and then making a procedure in blocky from there. Hope that helped!

Last seen on 13:38, 10. Jan 2021
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks!  I thought of that…
Tue, 08/18/2020 - 15:35

Thanks! 

I thought of that to, but the problem was the procedure and how to make it that as example 10 bronze will become 1 silver. Do you know how to do that? 

I really appreciate your help! :)

Last seen on 19:13, 24. May 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make the procedure check the…
Wed, 08/19/2020 - 01:51

Make the procedure check the amount of bronze coins in the players main hand when the key is pressed, then remove those coins if there is 10 bronze coins there, and place a silver coin in its place.