1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-12-22 17:00:26 +01:00

updated chicken to use new mobs:spawn command

This commit is contained in:
TenPlus1 2016-10-21 14:44:59 +01:00
parent 752ab3db98
commit c1cf8d3ff2

View File

@ -78,8 +78,17 @@ mobs:register_mob("mobs_animal:chicken", {
end, end,
}) })
mobs:register_spawn("mobs_animal:chicken", --mobs:register_spawn("mobs_animal:chicken",
{"default:dirt_with_grass", "ethereal:bamboo_dirt"}, 20, 10, 15000, 2, 31000, true) -- {"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 = 5000,
active_object_count = 2,
day_toggle = true,
})
mobs:register_egg("mobs_animal:chicken", S("Chicken"), "mobs_chicken_inv.png", 0) mobs:register_egg("mobs_animal:chicken", S("Chicken"), "mobs_chicken_inv.png", 0)