Skip to content

Around Pattern

platz1de edited this page Jun 1, 2023 · 4 revisions

Removed since 3.0.0

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

See Checkblock Pattern for more information

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