mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-08 10:50:23 +02:00
replace mobs spawn by news function spawn_specific
change invert min_light and max_light for slimes and lava add chmod 755 textures mobs
This commit is contained in:
@ -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:register_spawn("mobs:chicken", {"default:dirt_with_grass"}, 20, 8, 10000, 1, 31000)
|
||||
mobs:spawn_specific("mobs:chicken", {"default:dirt_with_grass"}, {"air"}, 8, 20, 30, 10000, 1, -31000, 31000)
|
||||
-- register spawn egg
|
||||
mobs:register_egg("mobs:chicken", "Chicken", "mobs_chicken_inv.png", 0)
|
||||
|
||||
@ -157,4 +157,4 @@ minetest.register_craft({
|
||||
type = "cooking",
|
||||
recipe = "mobs:chicken_raw",
|
||||
output = "mobs:chicken_cooked",
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user