#how to get block around my custom block?
1 messages · Page 1 of 1 (latest)
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.
1 messages · Page 1 of 1 (latest)
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?
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.