BlockFace - Between Blocks (Expression) — Lusk
Addon: Lusk · Category: Expression · Since: 1.2
Syntax
[the] [block[ ]]face (from|between) %block% (to|and) %block%Description
Returns the face relation of a block compared to another block.
If the blocks are not connected nothing will be returned.
Examples
set {_A} to block at location(10,10,10,"world")
set {_B} to block at location(10,11,10,"world") # 1 block above
set {_blockFace} to blockface from {_A} to {_B}
broadcast {_blockFace} # 'up face'