From faa7e5016d337d3ad06c553d8f4b8b40cf09a3bf Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 21 Mar 2017 21:52:22 +0100 Subject: [PATCH] Decrease collision box of cactus --- mods/ITEMS/mcl_core/nodes.lua | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/mods/ITEMS/mcl_core/nodes.lua b/mods/ITEMS/mcl_core/nodes.lua index f7eb97524..72afe2f9c 100644 --- a/mods/ITEMS/mcl_core/nodes.lua +++ b/mods/ITEMS/mcl_core/nodes.lua @@ -1149,7 +1149,17 @@ minetest.register_node("mcl_core:cactus", { node_box = { type = "fixed", fixed = { - {-7/16, -8/16, -7/16, 7/16, 8/16, 7/16}, -- Main Body + {-7/16, -8/16, -7/16, 7/16, 8/16, 7/16}, -- Main body + {-8/16, -8/16, -7/16, 8/16, 8/16, -7/16}, -- Spikes + {-8/16, -8/16, 7/16, 8/16, 8/16, 7/16}, -- Spikes + {-7/16, -8/16, -8/16, -7/16, 8/16, 8/16}, -- Spikes + {7/16, -8/16, 8/16, 7/16, 8/16, -8/16}, -- Spikes + }, + }, + collision_box = { + type = "fixed", + fixed = { + {-7/16, -8/16, -7/16, 7/16, 7/16, 7/16}, -- Main body. slightly lower than node box {-8/16, -8/16, -7/16, 8/16, 8/16, -7/16}, -- Spikes {-8/16, -8/16, 7/16, 8/16, 8/16, 7/16}, -- Spikes {-7/16, -8/16, -8/16, -7/16, 8/16, 8/16}, -- Spikes