Skip to main content

BlockCollisionBoxes

Type Alias BlockCollisionBoxes 

Source
pub type BlockCollisionBoxes = SmallVec<[BlockLocalAabb; 4]>;
Expand description

Resolved block-local collision boxes for a live block state.

Most blocks materialize their extracted static voxel shape here. Dynamic blocks such as moving pistons can instead return boxes computed from live world data without forcing runtime shapes into the static registry.

Aliased Typeยง

pub struct BlockCollisionBoxes { /* private fields */ }