Custom Spawner System: mob does not work with list
keckrich opened this issue ยท 0 comments
When I use a list for mob in the spawner.json the mobs do not spawn (or spawn correctly), but when I manually list each mob it works. Version 1.16.5
spawner.json (works):
[ { "mob": "minecraft:pig", "persecond": 0.5, "attempts": 20, "amount": { "minimum": 1, "maximum": 5 }, "conditions": { "dimension": "compactmachines:compact_world", "mindist": 2, "maxdist": 120, "minheight": 1, "maxheight": 175, "maxthis": 20, "norestrictions": true } }, { "mob": "minecraft:spider", "persecond": 0.5, "attempts": 20, "amount": { "minimum": 1, "maximum": 5 }, "conditions": { "dimension": "compactmachines:compact_world", "mindist": 2, "maxdist": 120, "minheight": 1, "maxheight": 175, "maxthis": 20, "norestrictions": true } } ]
spawner.json (does not work):
[ { "mob": ["minecraft:pig", "minecraft:spider"], "persecond": 0.5, "attempts": 20, "amount": { "minimum": 1, "maximum": 5 }, "conditions": { "dimension": "compactmachines:compact_world", "mindist": 2, "maxdist": 120, "minheight": 1, "maxheight": 175, "maxthis": 20, "norestrictions": true } } ]