3
Attributes
Is there a command or a way you can keep modifiers or attributes when you die from something? Been trying to plug in different mods and different commands but nothing seems to be working. Please help(/attribute)
2
Thanks it worked
Nope. When a mob dies, all data disappears for that mob. For players, that data basically does the same thing and resets to its defaul values (keepinv, spawnpoint coords and item drop after death is the exception).
The only way to "keep" attributes after a player dies is:
The only way to "keep" attributes after a player dies is:
- Detect if player is dead and give them a tag (this may not work) or a score
- Detect if the player is alive and has that tag/score and give them the attributes again. Remove tag/score afterwards
