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

@ -119,7 +119,7 @@ mobs:register_mob("mobs:cow", {
-- spawn on default;green;prairie grass between 0 and 20 light, 1 in 11000 chance, 1 cow in area up to 31000 in height
mobs:spawn_specific("mobs:cow", {"default:dirt_with_grass"}, {"air"}, 8, 20, 30, 10000, 1, -31000, 31000)
mobs:spawn_specific("mobs:cow", {"default:dirt_with_grass"}, {"air"}, 8, 20, 30, 10000, 1, -31000, 31000, true)
-- register spawn egg
mobs:register_egg("mobs:cow", "Cow", "default_grass.png", 1)