summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-03-07 11:50:52 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2017-03-07 11:50:52 +0000
commit977a16f7b68de93189aded5d0bc2846f8b21a8f7 (patch)
treeb8612d37efead7115ee4b969469150536aebcb8c
parent0f2f60780380dfc68bcb15fdc14a8b62cb7707e7 (diff)
updated replace_what to new table format
-rw-r--r--cow.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/cow.lua b/cow.lua
index bf41a3d..44ef581 100644
--- a/cow.lua
+++ b/cow.lua
@@ -49,7 +49,11 @@ mobs:register_mob("mobs_animal:cow", {
follow = "farming:wheat",
view_range = 7,
replace_rate = 10,
- replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "farming:wheat_8"},
+-- replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "farming:wheat_8"},
+ replace_what = {
+ {"group:grass", "air", 0},
+ {"default:dirt_with_grass", "default:dirt", -1}
+ },
replace_with = "air",
fear_height = 2,
on_rightclick = function(self, clicker)