1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-12-16 15:15:27 +01:00

added selective spawning in area if mobs.protected enabled

This commit is contained in:
2015-07-21 21:57:32 +02:00
parent 5da3f5bfab
commit ffd79152fd
27 changed files with 32 additions and 31 deletions

View File

@@ -61,6 +61,6 @@ mobs:register_mob("mobs:goat", {
replace_with = "air",
})
-- spawn on dirt_with_grass between -1 and 20 light, 1 in 20000 chance, 1 goat in area up to 31000 in height
mobs:spawn_specific("mobs:goat", {"default:dirt_with_grass"}, {"air"}, -1, 20, 30, 10000, 1, -31000, 31000)
mobs:spawn_specific("mobs:goat", {"default:dirt_with_grass"}, {"air"}, -1, 20, 30, 10000, 1, -31000, 31000, true)
-- register spawn egg
mobs:register_egg("mobs:goat", "Goat", "default_grass.png", 1)