Skip to content

@pumpkin-plugins/terrain API / capture / TerrainAccess

Interface: TerrainAccess ​

Defined in: capture.ts:28

Terrain source plus an optional check that a region can be sampled.

Extends ​

Methods ​

top()? ​

optional top(x, z): number

Defined in: capture.ts:24

Inclusive world Y of the highest non-empty block in a column.

Parameters ​

x ​

number

z ​

number

Returns ​

number

Inherited from ​

TerrainSource.top

pumpkin-plugins documentation