Skip to content

Horizontal Pattern

platz1de edited this page Jun 1, 2023 · 2 revisions

Removed since 3.0.0

Checks if the block at the current position is near a block of the given type in horizontal direction (all horizontal sides of the block are checked)

See Checkblock Pattern for more information

Examples:
horizontal;red_wool(...) - Checks if one of the horizontal neighbor blocks is red wool
horizontal;wool(...) - Checks if one of the horizontal neighbor blocks is any type of wool (allows all colors)

Clone this wiki locally