above-block

Check if the block above a target block meets the requirement.

Condition Syntax

conditions:
  - id: above-block
    block: 'air' # block above the target location (at y + offset) that MUST match (whitelist)
                 # alternatively use not-block to require that a certain block is NOT above
    target-block: 'sand' # block at the target location that MUST match
    offset: 1 # Y offset from the target location (default: 1)
    send-message: false # optional: send a "condition not met" message (default: true)
    as-actionbar: false # optional: send message as action bar (default: false)

Last updated