## Revoke advancement
advancement revoke @s only vb:technical/place_custom_block

## Raycast start
# Get possible range + 1 (to allow for errors, and since we check in 3x3x3)
execute store result score @s vb.raycast run attribute @s minecraft:block_interaction_range get
scoreboard players add @s vb.raycast 1
# Raycast
execute anchored eyes run function vb:place_custom_block/raycast