summaryrefslogtreecommitdiff
path: root/chicken.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2018-03-04 15:45:09 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2018-03-04 15:45:09 +0000
commitcbac52f407614e1ba99b40f3feec5dcfe35ad0b7 (patch)
tree7dbb4a6feb4f7dd16ea1db790bcdcb2b91a4049a /chicken.lua
parentf2699613e2d7abcad053577c7f4cc3172000c738 (diff)
animals spawn near grass now (chance amended to suit)
Diffstat (limited to 'chicken.lua')
-rw-r--r--chicken.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/chicken.lua b/chicken.lua
index d19ebef..f79579d 100644
--- a/chicken.lua
+++ b/chicken.lua
@@ -95,10 +95,11 @@ end
mobs:spawn({
name = "mobs_animal:chicken",
nodes = {spawn_on},
+ neighbors = {"group:grass"},
min_light = 10,
- chance = 15000,
+ chance = 5000, -- 15000
active_object_count = 2,
- min_height = 0,
+ min_height = 5,
max_height = 200,
day_toggle = true,
})