Skip to content

Embed Pattern

platz1de edited this page May 17, 2022 · 2 revisions

Checks if the block at the current position is near a block of the given type at a higher position
All horizontal sides of the block are checked if they have the block above them. This allows to "embed" the blocks (surround the higher blocks)

See Checkblock Pattern for more information

Examples:
embed;grass(...) - Checks if one of the neighbor higher blocks is grass
embed;quartz_pillar(chiseled_quartz_block) - Embeds a quartz pillar with chiseled quartz blocks (surrounds the pillars on the floor)

Clone this wiki locally