forked from mtcontrib/mobs_redo
set is_ground_content for spawner and meat blocks (thx SwissAlpS)
This commit is contained in:
@ -379,6 +379,7 @@ minetest.register_node("mobs:meatblock", {
|
||||
tiles = {"mobs_meat_top.png", "mobs_meat_bottom.png", "mobs_meat_side.png"},
|
||||
paramtype2 = "facedir",
|
||||
groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2, axey = 1, handy = 1},
|
||||
is_ground_content = false,
|
||||
sounds = mod_def and default.node_sound_leaves_defaults(),
|
||||
on_place = minetest.rotate_node,
|
||||
on_use = minetest.item_eat(20),
|
||||
@ -401,6 +402,7 @@ minetest.register_node("mobs:meatblock_raw", {
|
||||
tiles = {"mobs_meat_raw_top.png", "mobs_meat_raw_bottom.png", "mobs_meat_raw_side.png"},
|
||||
paramtype2 = "facedir",
|
||||
groups = {choppy = 1, oddly_breakable_by_hand = 1, flammable = 2, axey = 1, handy = 1},
|
||||
is_ground_content = false,
|
||||
sounds = mod_def and default.node_sound_leaves_defaults(),
|
||||
on_place = minetest.rotate_node,
|
||||
on_use = minetest.item_eat(20),
|
||||
|
Reference in New Issue
Block a user