forked from rudzik8/mcl_decor
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:
parent
9f3dd6346b
commit
97e0bd9b52
2
api.lua
2
api.lua
|
@ -21,6 +21,7 @@ function mcl_decor:register_chair(name, def)
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
stack_max = 64,
|
stack_max = 64,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
|
--[[
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -0.25, -0.5, -0.25, 0.25, 0.5, 0.25 },
|
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",
|
type = "fixed",
|
||||||
fixed = { -0.25, -0.5, -0.25, 0.25, 0.5, 0.25 },
|
fixed = { -0.25, -0.5, -0.25, 0.25, 0.5, 0.25 },
|
||||||
},
|
},
|
||||||
|
]]
|
||||||
groups = def.groups,
|
groups = def.groups,
|
||||||
_mcl_hardness = def._mcl_hardness,
|
_mcl_hardness = def._mcl_hardness,
|
||||||
_mcl_blast_resistance = def._mcl_blast_resistance,
|
_mcl_blast_resistance = def._mcl_blast_resistance,
|
||||||
|
|
Loading…
Reference in New Issue