Skip to content

API reference / @jsprismarine/chunkgen / DuplicateFeaturePatchError

Class: DuplicateFeaturePatchError ​

Defined in: FeaturePatch.ts:55

Raised when two feature passes of the same neighbor both offer this chunk a patch.

Extends ​

Constructors ​

Constructor ​

new DuplicateFeaturePatchError(dx, dz): DuplicateFeaturePatchError

Defined in: FeaturePatch.ts:58

Parameters ​

dx ​

number

dz ​

number

Returns ​

DuplicateFeaturePatchError

Overrides ​

Error.constructor

Properties ​

dx ​

readonly dx: number

Defined in: FeaturePatch.ts:59


dz ​

readonly dz: number

Defined in: FeaturePatch.ts:60


name ​

name: string = 'DuplicateFeaturePatchError'

Defined in: FeaturePatch.ts:56

Overrides ​

Error.name