meatblocks aren't ground content

This commit is contained in:
SwissalpS 2024-02-27 00:21:55 +00:00
parent f1cbed1089
commit daf6b744f6
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,3 @@
local S = mobs.translate
local FS = function(...) return minetest.formspec_escape(S(...)) end
local mc2 = minetest.get_modpath("mcl_core")
@ -379,6 +378,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 +401,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),