Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-189736

"distance" within predicate no longer works

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16.2 Pre-release 2
    • 1.16 Pre-release 5, 1.16.1, 20w29a
    • None
    • Community Consensus
    • Data Packs
    • Important

      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.

            boq [Mojang] Bartosz Bok
            edta Jonas Busseniers
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: