diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-03-07 11:50:52 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-03-07 11:50:52 +0000 |
commit | 977a16f7b68de93189aded5d0bc2846f8b21a8f7 (patch) | |
tree | b8612d37efead7115ee4b969469150536aebcb8c | |
parent | 0f2f60780380dfc68bcb15fdc14a8b62cb7707e7 (diff) |
updated replace_what to new table format
-rw-r--r-- | cow.lua | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) |