updated replace_what to new table format

This commit is contained in:
TenPlus1 2017-03-07 11:50:52 +00:00
parent 0f2f607803
commit 977a16f7b6
1 changed files with 5 additions and 1 deletions

View File

@ -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)