From ee7358ebc2d3a033b48b3a97af4255e1efba9ef9 Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 7 May 2026 01:42:52 -0330 Subject: correct shapes for blocks with random offsets --- azalea-physics/src/collision/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'azalea-physics/src/collision/mod.rs') diff --git a/azalea-physics/src/collision/mod.rs b/azalea-physics/src/collision/mod.rs index 34311f81..6d1df961 100644 --- a/azalea-physics/src/collision/mod.rs +++ b/azalea-physics/src/collision/mod.rs @@ -3,6 +3,7 @@ mod discrete_voxel_shape; pub mod entity_collisions; mod mergers; mod shape; +mod shape_offset; pub mod world_collisions; use std::{ops::Add, sync::LazyLock}; @@ -498,7 +499,7 @@ pub fn legacy_calculate_solid(block: BlockState) -> bool { return solid; } - let shape = block.collision_shape(); + let shape = block.base_collision_shape(); if shape.is_empty() { return false; } -- cgit v1.2.3