mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2024-12-22 17:00:26 +01:00
updated replace_what to new table format
This commit is contained in:
parent
0f2f607803
commit
977a16f7b6
6
cow.lua
6
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)
|
||||
|
Loading…
Reference in New Issue
Block a user