1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-05 01:20:22 +02:00

update mobs mod

This commit is contained in:
2015-12-18 21:13:20 +01:00
parent 76e04ab1ae
commit 220d4f9f60
20 changed files with 211 additions and 90 deletions

View File

@ -64,6 +64,7 @@ mobs:register_mob("mobs:cow", {
replace_rate = 10,
replace_what = {"default:grass_3", "default:grass_4", "default:grass_5", "farming:wheat_8"},
replace_with = "air",
fear_height = 2,
on_rightclick = function(self, clicker)
if not mobs:feed_tame(self, clicker, 8, true, true) then
local tool = clicker:get_wielded_item()