Skip to main content

make_oriented_piece_bounding_box

Function make_oriented_piece_bounding_box 

Source
pub(crate) const fn make_oriented_piece_bounding_box(
    chunk_min_x: i32,
    y: i32,
    chunk_min_z: i32,
    orientation: Direction,
    width: i32,
    height: i32,
    depth: i32,
) -> BoundingBox
Expand description

Vanilla’s StructurePiece.makeBoundingBox: north/south keep width/depth, east/west swap them.