diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-10-21 14:44:59 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-10-21 14:44:59 +0100 |
commit | c1cf8d3ff20b035bbf7d0bf46148af797c736728 (patch) | |
tree | 2af86bc0fdaeb856ac792ab46308148223281076 /chicken.lua | |
parent | 752ab3db982daaae449b0ed080b31368807c980f (diff) |
updated chicken to use new mobs:spawn command
Diffstat (limited to 'chicken.lua')
-rw-r--r-- | chicken.lua | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/chicken.lua b/chicken.lua index e82cb41..a3017d0 100644 --- a/chicken.lua +++ b/chicken.lua @@ -78,8 +78,17 @@ 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: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 = 5000, + active_object_count = 2, + day_toggle = true, +}) mobs:register_egg("mobs_animal:chicken", S("Chicken"), "mobs_chicken_inv.png", 0) |