using mobs:spawn functions to spawn animals

This commit is contained in:
TenPlus1
2016-10-29 16:45:47 +01:00
parent 2c0b9f5357
commit 3776506b2f
8 changed files with 61 additions and 23 deletions

View File

@ -78,15 +78,13 @@ mobs:register_mob("mobs_animal:chicken", {
end,
})
--mobs:register_spawn("mobs_animal:chicken",
-- {"default:dirt_with_grass", "ethereal:bamboo_dirt"}, 20, 10, 15000, 2, 31000, true)
mobs:spawn({
name = "mobs_animal:chicken",
nodes = {"default:dirt_with_grass", "ethereal:bamboo_dirt"},
interval = 1,
chance = 12000,
active_object_count = 1,
min_light = 10,
chance = 15000,
active_object_count = 2,
min_height = 0,
day_toggle = true,
})