-
Bug
-
Resolution: Duplicate
-
None
-
1.20.4
-
None
-
Ubuntu 22.04.3 LTS, Java openjdk 11.0.21
-
Unconfirmed
-
(Unassigned)
When an entity is created, has a score set, and is then killed, all within the same tick, its score remains on the scoreboard. This causes scoreboard.dat to become abnormally large, causing extreme lag when saving. This happens most consistently when the above happens through a function that is (directly or indirectly) run from minecraft:tick, but also seems to happen through other methods of executing functions (although I cannot reliably reproduce this).
To reproduce:
- Make a new world
- Add the attached datapack
- Verify that there are no entities on the scoreboard by running: scoreboard players list
- Run: scoreboard objectives add foo dummy
- Verify that the scoreboard rapidly grows in size by running "scoreboard players list" a few times
- duplicates
-
MC-250209 scoreboard.dat filling with dead entities
- Resolved