In Control!

In Control!

74M Downloads

JSON error when using the new "hasstructure" boolean

lozadajobd opened this issue ยท 1 comments

commented

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:
image

However, this always results in this error:
image

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

commented

Sorry for the slow response but should be fixed in the next release