The Bug
Some scores, like 16777217, cannot be checked by the loot condition "entity_scores".
Actual score | Predicate | Condition passes? | Should this happen? |
---|---|---|---|
16777216 | 16777216 | yes | ✔ |
16777216 | 16777217 | yes | ❌ |
16777217 | 16777216 | no | ✔ |
16777217 | 16777217 | no | ❌ |
To Reproduce
Install the test data pack
[media] and run /reload
, or
/scoreboard objectives add _ dummy
/scoreboard players set @s _ 16777217
/execute unless predicate _
→ ❌
Test passed
data/minecraft/predicates/_.json
{ "condition": "minecraft:entity_scores", "scores": { "_": 16777217 }, "entity": "this" }
Can confirm in 1.19.1.
[media]