-
Bug
-
Resolution: Works As Intended
-
None
-
23w32a
-
None
-
Confirmed
-
Data Packs
-
Important
-
Platform
Steps to reproduce:
- Download the first datapack, broken.zip, which contains a predicate with the following contents:
{ "condition": "minecraft:location_check", "predicate": { "block": { "blocks": [ "minecraft:snow" ], "state": { "layers": 1 } } } }
- Note the unquoted 1 in the layers block state.
- Install it into a world in 23w32a.
- Note that the log errors on this file, noting that it is not a json array.
- Download the second file, not_broken.zip, which contains the same file, with the 1 now quoted.
- Replace the previous datapack
- See the error has now disappeared
- This is also the case for predicates containing unquoted booleans.
- This error was not the case in previous versions, which supported unquoted booleans and numbers.
- is duplicated by
-
MC-265608 1.20.2 Datapack predicates json detection issues
- Resolved