mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2024-12-22 08:50:26 +01:00
chickens eat seeds on ground
This commit is contained in:
parent
797ad49600
commit
b9d8c1271b
16
chicken.lua
16
chicken.lua
@ -56,9 +56,23 @@ mobs:register_mob("mobs_animal:chicken", {
|
||||
},
|
||||
follow = {
|
||||
"farming:seed_wheat", "farming:seed_cotton", "farming:seed_barley",
|
||||
"farming:seed_oat", "farming:seed_rye"
|
||||
"farming:seed_oat", "farming:seed_rye", "farming:seed_rice",
|
||||
"farming:seed_hemp", "farming:seed_sunflower", "farming:seed_mint"
|
||||
},
|
||||
view_range = 5,
|
||||
replace_rate = 5,
|
||||
replace_what = {
|
||||
{"farming:seed_wheat", "air", 0},
|
||||
{"farming:seed_cotton", "air", 0},
|
||||
{"farming:seed_barley", "air", 0},
|
||||
{"farming:seed_oat", "air", 0},
|
||||
{"farming:seed_rye", "air", 0},
|
||||
{"farming:seed_rice", "air", 0},
|
||||
{"farming:seed_hemp", "air", 0},
|
||||
{"farming:seed_mint", "air", 0},
|
||||
{"farming:seed_sunflower", "air", 0}
|
||||
},
|
||||
stay_near = {{"group:seed"}, 7},
|
||||
|
||||
on_rightclick = function(self, clicker)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user