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
This commit is contained in:
Mikita Wiśniewski 2022-02-24 07:57:55 +07:00
parent 9f3dd6346b
commit 97e0bd9b52
1 changed files with 2 additions and 0 deletions

View File

@ -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,