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

1.20.2 Datapack predicates json detection issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.2
    • None
    • Unconfirmed
    • (Unassigned)

      I don't know what specific version starts the issues but,
      Between 1.19 and 1.20 Minecraft can't read some predicates.

      For instance, the file that I attached. This file can be read by 1.19 and I can utilize it with command blocks & Datapack but after 1.20 it can't be read.

      the predicates "smokey" works fine but "stepping on" and "location" seems not to be working.

      and more  Here's the message from game output

       

      Couldn't parse element predicates:draft:step_layer2 - Not a json array: {"condition":"minecraft:entity_properties","entity":"this","predicate":{"type":"minecraft:player","stepping_on":{"block":{"blocks":["minecraft:snow"],"state":{"layers":2}}}}}

       
      I've checked whether the jason is perfectly valid.
      and it's still valid.

      Could you fix the bugs as soon as possible?
      This may be critical for making datapack. thx

            Unassigned Unassigned
            Datapackkker Datapackkker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: