mojira.dev
MC-265608

1.20.2 Datapack predicates json detection issues

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

Linked issues

Attachments

Comments 1

Thank you for your report!
We're actually already tracking this issue in MC-264739, so this ticket is being resolved and linked as a duplicate.

However, that ticket has been resolved as working as intended, which means that this will not be fixed as it is not considered a bug.

Please be sure to use the search feature before creating a ticket to see if the issue has already been reported.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ›  Community Support – πŸ“§ Mojang Support – ✍️ Feedback and Suggestions – πŸ’¬ Mojira Discord

Datapackkker

(Unassigned)

Unconfirmed

(Unassigned)

1.20.2

Retrieved