[Solved] How do you make a variable add something one time

Started by ethanpuff on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[Solved] How do you make a variable add something one time
Tue, 01/28/2025 - 19:26 (edited)

OK I don't think I gave the title justice butt my problem is where

It keeps adding one every tick where I just wanted to add once

Edited by ethanpuff on Tue, 01/28/2025 - 19:26
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It might be due to the…
Tue, 01/14/2025 - 07:01

It might be due to the trigger you used, if you used the global trigger "On player tick" that would be why.

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you it works  
Thu, 01/16/2025 - 21:30

thank you it works