How to change minimal value of entity number tag?(help please)

Started by qym on

Topic category: Help with Minecraft modding (Java Edition)

Active 11 months ago
Joined Mar 2022
Points:
497

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
How to change minimal value of entity number tag?(help please)

So basically i am making a mod where you stats will increase the more you train using entity tags but when you die it resets to 0 how do I change the minimal value??

Active 2 years ago
Joined Mar 2022
Points:
421

User statistics:

  • Modifications: 0
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 65
Save the stats in a player…
Sat, 08/06/2022 - 04:42

Save the stats in a player persistent global variable.  After dying, on respawn, load the stat from the variable.

Active 11 months ago
Joined Mar 2022
Points:
497

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 31
I see thank you
Sun, 08/07/2022 - 05:52

I see thank you