To smooth out their rather brisk spawn rate and capacity for absolute mayhem I have made some changes to the init.lua, specifically adjusting spawn chance, min&max spawn depths but most importantly I've added a severe restriction on light, they will only spawn in places with light between 0 and 4. To keep them out of your mines/underground cities proper light placement has become much more important. And even then you will sometimes be surprised by a digger coming in from a side cave.
Code: Select all
--[[ function mobs_goblins:spawn_specific(
name,nodes, neighbors, min_light, max_light, interval, chance, active_object_count, min_height, max_height)]]
mobs:spawn_specific("goblins:goblin_cobble", {"group:stone"}, "air", 0, 4, 60, 10000, 2, -30000, -10)
mobs:spawn_specific("goblins:goblin_digger", {"group:stone"}, "air", 0, 4, 60, 10000, 2, -30000, -10)
mobs:spawn_specific("goblins:goblin_coal", {"default:stone_with_coal", "default:mossycobble"}, "air", 0, 4, 60, 20000, 1, -30000, -10)
mobs:spawn_specific("goblins:goblin_iron", {"default:stone_with_iron", "default:mossycobble"}, "air", 0, 4, 60, 20000, 1, -30000, -30)
mobs:spawn_specific("goblins:goblin_copper", {"default:stone_with_copper", "default:mossycobble"}, "air", 0, 4, 60, 20000, 1, -30000, -30)
mobs:spawn_specific("goblins:goblin_gold", {"default:stone_with_gold", "default:mossycobble"}, "air", 0, 4, 60, 20000, 1, -30000, -50)
mobs:spawn_specific("goblins:goblin_diamond", {"default:stone_with_diamond", "default:mossycobble" }, "air",0, 4, 60, 30000, 1, -30000, -50)
mobs:spawn_specific("goblins:goblin_king", {"default:mossycobble",},"air", 0, 4, 60, 30000, 1, -30000, -150)