-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.11.2, Minecraft 17w47b, Minecraft 17w48a, Minecraft 17w49b, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w03b, Minecraft 18w05a, Minecraft 18w06a, Minecraft 18w07c, Minecraft 18w08b, Minecraft 18w09a, Minecraft 18w10a, Minecraft 18w10b, Minecraft 18w14b, Minecraft 18w16a, Minecraft 18w20c, Minecraft 18w21a, Minecraft 18w22c, Minecraft 1.13-pre1, Minecraft 1.13-pre2, Minecraft 1.13-pre4, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre10, Minecraft 1.13, 1.15.1, 1.15.2, 20w09a, 20w21a, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 20w51a, 21w03a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w17a, 1.17.1, 1.18 Pre-release 6, 1.18.1, 1.18.2, 1.19, 1.19.1 Release Candidate 1, 1.19.2, 1.20.1, 1.20.5 Release Candidate 2, 1.21 Pre-Release 2
-
Confirmed
-
Commands
-
Normal
-
Platform
The bug
Read-only scoreboard objectives are only initialized when the value they are tracking changes. Expected would be that they initialize on creation.
Affected objective criteria
- air
- armor
- food
- health
- level
- xp
How to reproduce
- Create a scoreboard objective of the type xp
/scoreboard objectives add xp xp
- Check if a value is set by displaying the objective on the sidebar or trying to get the score
/scoreboard objectives setdisplay sidebar xp
/scoreboard players get @s xp
→ No value is set
- Update your xp points
/xp add @s 1
- Repeat step 2
→ Now a value is set