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:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user