Loot condition "entity_scores" cannot check all possible scores
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 MC-254370.zip
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" }
2022-07-19, 07:52 PM
2023-12-19, 08:46 AM
10
9
-