Skip to main content

generate_pieces

Function generate_pieces 

Source
pub fn generate_pieces(
    seed: i64,
    chunk_x: i32,
    chunk_z: i32,
) -> Vec<StrongholdGeneratedPiece>
Expand description

All stronghold pieces for a chunk. Vanilla calls setOrientation(direction) on every stronghold piece, and threads genDepth through the DFS via each subclass’s createPiece helper.