How to do ATM?

Started by Topman2000 on

Topic category: Advanced modding

Last seen on 11:22, 9. Aug 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to do ATM?

I created a global variable "Money", and also created commands to change it, like: /addmoney, /pay, /setmoney. Then I decided to make cash and create a function so that when I put bills in the ATM, my global variable would change (via gui), but the block cannot work with the Entity dependency and the question arises, how to do this then?