"structure" keyword isn't respected. (1.16.5)
jelaw21 opened this issue · 4 comments
Spawner.json
{
"mob":"aoa3:hauling_master",
"persecond": 1,
"attempts": 20,
"amount": {
"minimum": 1,
"maximum": 20
},
"conditions":{
"norestrictions":true,
"dimension":"minecraft:overworld"
}
}
Spawn.json
{
"mob":"aoa3:hauling_master",
"dimension":"minecraft:overworld",
"result":"allow"
}
Same Spawner file
Spawn.json
{
"mob":"aoa3:hauling_master",
"structure":"Village",
"dimension":"minecraft:overworld",
"result":"allow"
},
{
"mob":"aoa3:hauling_master",
"dimension":"minecraft:overworld",
"result":"deny"
}
There are no aoa3:hauling_master spawning in the village, even with the structures keyword.
'Village' is not a valid structure. Must be something like 'minecraft:village'. At least a proper ID
Ok. Will test tomorrow.
…On Sat, Apr 24, 2021, 10:59 PM McJty ***@***.***> wrote:
'Village' is not a valid structure. Must be something like
'minecraft:village'. At least a proper ID
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#255 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFA7SGYRMD4MXQUUO4P3HQTTKOASTANCNFSM43QNRDKA>
.
I've tested this with "minecraft:cow" and "minecraft:village" and this is a valid issue.
[
{
"onjoin": true,
"structure": "minecraft:village",
"mob": "minecraft:cow",
"result": "allow"
},
{
"dimension":"minecraft:overworld",
"mob":"minecraft:cow",
"result": "deny"
}
]
The above produces no cow spawns.
Removing the "onjoin" condition from the allow rule allows cows to spawn in the overworld in various places.
Adding "onjoin": true to just the deny rule prevents all cow spawns.
I also tested the above adding "minecraft:overworld" to the allow rule, and even added a spawner rule to add cows to the overworld.