Full-node collisionbox for palm leaves

master
Wuzzy 2022-03-02 22:28:13 +01:00
parent dc0d1e3184
commit a5f6fa98df
1 changed files with 8 additions and 0 deletions

View File

@ -60,6 +60,10 @@ minetest.register_node("lzr_core:bright_palm_leaves", {
description = S("Bright Palm Leaves"),
paramtype = "light",
drawtype = "nodebox",
collision_box = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 },
},
node_box = {
type = "fixed",
fixed = { -lb, -0.5, -lb, lb, lb, lb },
@ -79,6 +83,10 @@ minetest.register_node("lzr_core:dark_palm_leaves", {
description = S("Dark Palm Leaves"),
paramtype = "light",
drawtype = "nodebox",
collision_box = {
type = "fixed",
fixed = { -0.5, -0.5, -0.5, 0.5, 0.5, 0.5 },
},
node_box = {
type = "fixed",
fixed = { -lb, -0.5, -lb, lb, lb, lb },