#is there a easy method of getting the block *infront* of a other block?

11 messages · Page 1 of 1 (latest)

shell glacier
#

preferably behind aswell somehow.
I can get facing with .properties.get("facing") but idk how to use that as a offset without doing tables.

brisk willowBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

floral niche
#

if you have the facing as a string, you can use
block[facing]

shell glacier
#

oh?

floral niche
#

block["north"] returns a block same as block.north

shell glacier
#

that makes things easier

#

tho it would be great if there was like .forward or something

#

idk

#

or like .front

floral niche
#

You know, not every block has a "facing" thing

shell glacier
#

thanks