Mojira Archive
MC-254370

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

  1. /scoreboard objectives add _ dummy
  2. /scoreboard players set @s _ 16777217
  3. /execute unless predicate _

    Test passed

  • data/minecraft/predicates/_.json
    {
        "condition": "minecraft:entity_scores",
        "scores": {
            "_": 16777217
        },
        "entity": "this"
    }
    

Unresolved

[Mod] SPGoding

2022-07-19, 07:52 PM

2023-12-19, 08:46 AM

10

9

Confirmed

Low

Platform

Commands, Data Packs

20w46a - 1.20.420w46a, 1.19.1 Pre-release 5, 1.19.1, 1.19.4, 1.20.4

-