Variable not changing?

Started by SuperGamer141 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Variable not changing?
Tue, 06/08/2021 - 21:37 (edited)

So basically, I'm trying to make a counter on a sword that increases whenever you hit a mob and adds the number of digits + 5 of sharpness onto the item, however, the variable never actually changes (when I check using Send Message, it is always 0.0, or whatever I change the default value to).

https://imgur.com/a/9D5eLIj

Edited by SuperGamer141 on Tue, 06/08/2021 - 21:37