From 35d2ea4c862beb574070ae89bde42aa8550aa468 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sun, 15 Mar 2026 14:30:40 +0300 Subject: [PATCH] make base:falling_block solid entity --- res/content/base/entities/falling_block.json | 3 ++- res/content/base/scripts/components/falling_block.lua | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/res/content/base/entities/falling_block.json b/res/content/base/entities/falling_block.json index cf5146fd9..b466c2a11 100644 --- a/res/content/base/entities/falling_block.json +++ b/res/content/base/entities/falling_block.json @@ -3,5 +3,6 @@ "base:falling_block" ], "skeleton-name": "base:block", - "hitbox": [0.98, 0.98, 0.98] + "hitbox": [0.98, 0.98, 0.98], + "solid": true } diff --git a/res/content/base/scripts/components/falling_block.lua b/res/content/base/scripts/components/falling_block.lua index 483e86aee..b6bbe4656 100644 --- a/res/content/base/scripts/components/falling_block.lua +++ b/res/content/base/scripts/components/falling_block.lua @@ -29,6 +29,7 @@ do -- setup visuals 0, 0, 0, 1 } rig:set_matrix(0, matrix) + body:set_material(block.material(id)) end function on_grounded()