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

"distance" within predicate no longer works

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.16 Pre-release 5, 1.16.1, 20w29a
    • Fix Version/s: 1.16.2 Pre-release 2
    • Labels:
      None
    • Confirmation Status:
      Community Consensus
    • Category:
      Data Packs
    • Mojang Priority:
      Important

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              CHK: