Skip to main content

is_shape_full_block

Function is_shape_full_block 

Source
pub fn is_shape_full_block(shape: VoxelShape) -> bool
Expand description

Checks if a shape is a full block (covers the entire 0-1 cube).

This matches vanilla’s Block.isShapeFullBlock() used by isSolidRender().