forked from MineClone5/MineClone5
Fix chicken, cow and sheep not dropping food
This commit is contained in:
parent
23edc81f9d
commit
293fb66073
|
@ -22,7 +22,7 @@ mobs:register_mob("mobs_mc:chicken", {
|
||||||
walk_velocity = 1,
|
walk_velocity = 1,
|
||||||
armor = 100,
|
armor = 100,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mcl_mobitems:chicken_raw",
|
{name = "mcl_mobitems:chicken",
|
||||||
chance = 1,
|
chance = 1,
|
||||||
min = 1,
|
min = 1,
|
||||||
max = 1,},
|
max = 1,},
|
||||||
|
|
|
@ -21,7 +21,7 @@ mobs:register_mob("mobs_mc:cow", {
|
||||||
walk_velocity = 1,
|
walk_velocity = 1,
|
||||||
armor = 100,
|
armor = 100,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mcl_mobitems:beef_raw",
|
{name = "mcl_mobitems:beef",
|
||||||
chance = 1,
|
chance = 1,
|
||||||
min = 1,
|
min = 1,
|
||||||
max = 3,},
|
max = 3,},
|
||||||
|
|
|
@ -22,7 +22,7 @@ mobs:register_mob("mobs_mc:sheep", {
|
||||||
walk_velocity = 1,
|
walk_velocity = 1,
|
||||||
armor = 100,
|
armor = 100,
|
||||||
drops = {
|
drops = {
|
||||||
{name = "mcl_mobs:mutton_raw",
|
{name = "mcl_mobs:mutton",
|
||||||
chance = 1,
|
chance = 1,
|
||||||
min = 1,
|
min = 1,
|
||||||
max = 2,},
|
max = 2,},
|
||||||
|
@ -112,7 +112,7 @@ print(item:get_name(), minetest.get_item_group(item:get_name(), "dye"))
|
||||||
})
|
})
|
||||||
self.color = pname
|
self.color = pname
|
||||||
self.drops = {
|
self.drops = {
|
||||||
{name = "mcl_mobs:mutton_raw",
|
{name = "mcl_mobs:mutton",
|
||||||
chance = 1,
|
chance = 1,
|
||||||
min = 1,
|
min = 1,
|
||||||
max = 2,},
|
max = 2,},
|
||||||
|
|
Loading…
Reference in New Issue