How to make custom variables decrees over time?

Started by Mr_Losos on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make custom variables decrees over time?

Basically i want to add a custom client based (i think) custom variables which are basically an cooldown that's cannot be removed by milk. I want it to decree to zero after like 5 minutes  

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use an NBT timer, and after…
Sat, 12/06/2025 - 10:47

use an NBT timer, and after 5 mins, you set the number to 0 for the variable