World shape for dimension
This commit is contained in:
@@ -54,6 +54,10 @@ export interface FeatureChunk {
|
||||
readonly x: number;
|
||||
readonly z: number;
|
||||
readonly seed: string;
|
||||
// the dimension's blocks go from min_y up to max_y - 1, get_block is undefined outside them and set_block does
|
||||
// nothing
|
||||
readonly min_y: number;
|
||||
readonly max_y: number;
|
||||
// seeded from the seed, chunk and feature id
|
||||
readonly rng: { next(): number };
|
||||
// seeded from the seed and name alone, the same in every chunk. for things decided across chunks, like trees
|
||||
|
||||
Reference in New Issue
Block a user