From 97e0bd9b526edec29a0714e69be10ad7c18142b6 Mon Sep 17 00:00:00 2001 From: rudzik8 Date: Thu, 24 Feb 2022 07:57:55 +0700 Subject: [PATCH] Make chairs use nodebox as their selection/collision box so now you can sit on 'em BUT only with the mcl_cozy mod and /sit command... just a simple workaround while im trying to implement it --- api.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api.lua b/api.lua index f244536..6c6343d 100644 --- a/api.lua +++ b/api.lua @@ -21,6 +21,7 @@ function mcl_decor:register_chair(name, def) paramtype2 = "facedir", stack_max = 64, sunlight_propagates = true, + --[[ selection_box = { type = "fixed", fixed = { -0.25, -0.5, -0.25, 0.25, 0.5, 0.25 }, @@ -29,6 +30,7 @@ function mcl_decor:register_chair(name, def) type = "fixed", fixed = { -0.25, -0.5, -0.25, 0.25, 0.5, 0.25 }, }, + ]] groups = def.groups, _mcl_hardness = def._mcl_hardness, _mcl_blast_resistance = def._mcl_blast_resistance,