JSON error when using the new "hasstructure" boolean
lozadajobd opened this issue ยท 1 comments
I am currently trying to use In Control! To make mobs only spawn underground. However, I would also like to make mobs spawn in structures that are above ground like Woodland Mansions and Pillager Outposts.
To accomplish this, I tried using the "hasstructure" boolean like this in spawn.json:
However, this always results in this error:
I'm not experienced in java or javascript, so I cannot comment on what this means. However, it seems that I may be using an incompatible data type in the "hasstructure" condition. However, the wiki clearly states that it is a boolean, and I have tried using an array list of structure tags only to get the same error.
I could also confirm that "hasstructure" is the source of the issue because upon deleting it from the code, the config is able to compile without errors.
Attached here is the full spawn.json file for reference
spawn.json