Skip to content

Terrain Scanner v2.0

Overview

Scans the blocks parallel to the face of the scanner, and stores the result to the specified memory bank. You can adjust the start distance and range.

⚠ Attention

If the scanning succeeds, the original data in the memory bank will be overwritten!

Ports Definition

Top Input

Bit Width UsedFunctionDescription
16

Start Distance

For each 1 increase of this, the start position moves one more block away from the scanner in the distance of the scanner faces. If the highest bit is 1, the direction changes to opposite.
If this is 0xFFFF, this will not change the start distance, but change the scan method to the method like Terrain Raycast Detector, which can make a map.

1

Whether Store Block Data

If this is 0, only store the contents of blocks, otherwise the values of blocks.

15

Empty

No effect.

Right Input

Bit Width UsedFunctionDescription
16

Start Vertical Offset

For each 1 increase of this, the start position moves one more block in vertical direction. If the highest bit is 1, the direction changes to opposite. The positive direction is defined below.

16

Start Horizontal Offset

For each 1 increase of this, the start position moves one more block in horizontal direction. If the highest bit is 1, the direction changes to opposite. The positive direction is defined below.

Bottom Input

Bit Width UsedFunctionDescription
32

Start

When it changes from 0 no not 0, the scanner will start scanning and store the result to the specified memory bank.

Left Input

Bit Width UsedFunctionDescription
16

Vertical Scan Height

For each 1 increase of this, the end position moves one more block in vertical direction. The positive direction is defined below.

16

Horizontal Scan Width

For each 1 increase of this, the end position moves one more block in horizontal direction. The positive direction is defined below.

Back Input

Bit Width UsedFunctionDescription
32

Memory Bank ID

Specify a memory bank with the same ID to store result.

Positive Direction Explanation

The Scanner Faces ToStart Horizontal OffsetStart Vertical OffsetHorizontal Scan WidthVertical Scan Height
Y-axis (up or down)The positive direction of the X-axis (north)The positive direction of the Z-axis (west)The positive direction of the X-axis (north)The positive direction of the Z-axis (west)
X-axis (north or south)The positive direction of the Z-axis (west)The positive direction of the Y-axis (up)The positive direction of the Z-axis (west)The negative direction of the Y-axis (down)
Z-axis (east or west)The positive direction of the X-axis (north)The positive direction of the Y-axis (up)The positive direction of the X-axis (north)The negative direction of the Y-axis (down)