Materials

Floor Depth Layers

Applies surface and subsurface materials below floors or above ceilings.

material.depth_layers

Floor Depth LayersDepth surfaceFloor ⏷Surfacegrass_block ⏷Surface depth1Subsurfacedirt ⏷Subsurface depth3

What it does

Cover the ground with a surface layer and a second layer underneath. It is a simple way to put grass over dirt while leaving deeper rock to another rule. When Depth surface measures from ceilings, the layers grow upward from the underside of the terrain instead.

Choose Surface and Subsurface, then adjust their depths to match the exposed terrain. Put Output before the deeper material in a Material Queue, so that rule can take over below the layers.

Inputs and outputs

NameTypeDefaultWhat it changes
Inputs
SurfaceMaterialgrass_blockThe material of the first layer, right at the surface.
SubsurfaceMaterialdirtThe material of the second layer, further into the terrain.
Surface depthInteger1 · 1–2147483647Higher values make the top layer thicker.
Subsurface depthInteger3 · 1–2147483647Higher values make the second layer thicker.
Settings
Depth surfaceChoiceFloorChooses which terrain surface is used to measure depth. One of: Floor, Ceiling.
Output
OutputMaterialThe layered material near the surface, with no choice beyond the layers.

Good to know

Check the cave surfaces too

Inspect Depth surface when the world contains caves or floating terrain. The chosen surface reference determines which exposed faces receive the layers.

See also