#how to get block around my custom block?

1 messages · Page 1 of 1 (latest)

exotic bane
#

i used query.block_neighbor_has_any_tag but for now the block i want does not have tags anymore. is there a way to get a block type using json, or add to vanilla block custom tags?

tender monolith
#

With script you can get nearby blocks, block.above() for example, this will get the block above. You can then check what block is it, by getting its typeId.