From 72eb1d6c3c7ab04f08c34cabed56f6347598c3a5 Mon Sep 17 00:00:00 2001 From: MysticTempest Date: Mon, 14 Mar 2022 02:24:15 -0500 Subject: [PATCH] Change placement of carpets by making them wallmounted, attached_nodes. --- mods/ITEMS/mcl_wool/init.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mods/ITEMS/mcl_wool/init.lua b/mods/ITEMS/mcl_wool/init.lua index c35ba9cf74..986a98e840 100644 --- a/mods/ITEMS/mcl_wool/init.lua +++ b/mods/ITEMS/mcl_wool/init.lua @@ -71,6 +71,7 @@ for _, row in ipairs(wool.dyes) do _doc_items_entry_name = name_carpet, _doc_items_longdesc = longdesc_carpet, + drawtype = "nodebox", is_ground_content = false, tiles = {texture..".png"}, wield_image = texture..".png", @@ -78,14 +79,13 @@ for _, row in ipairs(wool.dyes) do groups = {handy=1, carpet=1,attached_node=1,flammable=1,fire_encouragement=60, fire_flammability=20, dig_by_water=1,deco_block=1,[color_group]=1}, sounds = mcl_sounds.node_sound_wool_defaults(), paramtype = "light", + paramtype2 = "wallmounted", sunlight_propagates = true, stack_max = 64, - drawtype = "nodebox", node_box = { - type = "fixed", - fixed = { - {-8/16, -8/16, -8/16, 8/16, -7/16, 8/16}, - }, + type = "wallmounted", + wall_top = {-8/16, -8/16, -8/16, 8/16, -7/16, 8/16}, + wall_side = {-8/16, -8/16, -8/16, 8/16, -7/16, 8/16}, }, _mcl_hardness = 0.1, _mcl_blast_resistance = 0.1,