Add container group for nodes with inventories
This commit is contained in:
parent
3de20363b5
commit
d6a404ce92
5 changed files with 16 additions and 9 deletions
|
@ -30,7 +30,7 @@ minetest.register_node("mcl_furnaces:furnace", {
|
|||
paramtype2 = "facedir",
|
||||
is_ground_content = false,
|
||||
stack_max = 64,
|
||||
groups = {cracky=2, deco_block=1},
|
||||
groups = {cracky=2, container=4, deco_block=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
|
@ -96,7 +96,7 @@ minetest.register_node("mcl_furnaces:furnace_active", {
|
|||
is_ground_content = false,
|
||||
light_source = 13,
|
||||
drop = "mcl_furnaces:furnace",
|
||||
groups = {cracky=2, not_in_creative_inventory=1},
|
||||
groups = {cracky=2, container=4, not_in_creative_inventory=1},
|
||||
sounds = mcl_sounds.node_sound_stone_defaults(),
|
||||
on_construct = function(pos)
|
||||
local meta = minetest.get_meta(pos)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue