Experimental

An early preview: docs, the API and the dashboard may change or break.

Report a problem

terrain.Layers

The blocks layers builds each column from, as gen.block numbers.

Fields

layers.depth: number?
#

How many blocks of under there are; 3 if nil.

layers.floor: number?
#

The single layer at the bottom of the world; stone if nil.

layers.sea: number?
#

The y the water fills up to, not including it; 63 if nil.

layers.stone: number
#

The rock under everything.

layers.surface: number?
#

The top block of each column; stone if nil.

layers.under: number?
#

The blocks under the surface; stone if nil.

layers.water: number?
#

What fills the air up to sea; nothing if nil.