Skip to main content

InfiniteDepth

Index

Interfaces

DimensionBounds

DimensionBounds:

Height range bounds, determines minimum world level and relative height to it (does not depends on minimum).

height

height: number

Height limit that is relative to starting coordinate. For example, if starting coordinate is -64 and world height is 384, then maximum building level will be 320.

optionalonset

onset?: number

Minimum world level at which bedrock will be located. Negative values may cause minor world rendering issues, but they do not affect gameplay. Accepts values between -2048 and 2048.

DimensionHeightRange

DimensionHeightRange:

Height range coordinates, determines minimum world level and absolute height limit (does depends on minimum).

max

max: number

Maximum world coordinate that cannot be less than lower level. Accepts values between -2048 and 2048.

optionalmin

min?: number

Minimum world coordinate that cannot be greater than upper level. Accepts values between -2048 and 2048.

Type Aliases

ConfigType

ConfigType: {}

Represent config object, which is used to easily configure multiple dimensions heights via InfiniteDepth.fromJson.


Type declaration

DimensionConfigType

Represent valid height range object types, which is used as ConfigType iterable.

DimensionHeightRangeArray

DimensionHeightRangeArray: number[]

Fixed minimum and maximum world coordinate array, which is represent DimensionHeightRange in most simple way.

DimensionType

DimensionType: string | number

Represent numeric or named dimension uid.