mojira.dev
MC-189736

"distance" within predicate no longer works

The following predicate always is false:

{
  "condition": "minecraft:entity_properties",
  "entity": "this",
  "predicate": {
      "distance": {
      "x": {
        "min": 0,
        "max": 3
      },
      "z": {
        "min": 0,
        "max": 3
      }
    }
  }
}

Worked fine in 1.15.2. Broken since 20w18a.

Comments 2

Confirmed in 1.16.1 and 20w29a.

I can confirm this too.

Jonas Busseniers

boq

Community Consensus

Important

Data Packs

1.16 Pre-release 5, 1.16.1, 20w29a

1.16.2 Pre-release 2

Retrieved