Add to a saved number
Add to a number saved against the server, a player, an entity, an item or a block. Nothing saved counts as 0.
A Minecraft element (a step) in Saved data. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player kills a mob → Add to a saved number: player, kills, 1.
Also called
add, increase, count up, plus, counter
Works as a data pack?
Partly. A data pack does most of it, and the editor tells you the difference.
What you give it
- Player
- Entity
- Block
- Add
What it gives back
- Number