From 3776506b2fe33920a3f33d8f4441ccc2b6a6a2ab Mon Sep 17 00:00:00 2001
From: TenPlus1 <kinsellaja@yahoo.com>
Date: Sat, 29 Oct 2016 16:45:47 +0100
Subject: using mobs:spawn functions to spawn animals

---
 chicken.lua | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

(limited to 'chicken.lua')

diff --git a/chicken.lua b/chicken.lua
index e73a7c6..6b3a2bf 100644
--- a/chicken.lua
+++ b/chicken.lua
@@ -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,
 })
 
-- 
cgit v1.2.3