1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-07 02:20:21 +02: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

@ -98,7 +98,7 @@ mobs:register_mob("mobs:chicken", {
end,
})
-- spawn on default or bamboo grass between 8 and 20 light, 1 in 10000 change, 1 chicken in area up to 31000 in height
mobs:spawn_specific("mobs:chicken", {"default:dirt_with_grass"}, {"air"}, 8, 20, 30, 10000, 1, -31000, 31000)
mobs:spawn_specific("mobs:chicken", {"default:dirt_with_grass"}, {"air"}, 8, 20, 30, 10000, 1, -31000, 31000, true)
-- register spawn egg
mobs:register_egg("mobs:chicken", "Chicken", "mobs_chicken_inv.png", 0)