setblock ~ ~ ~ air
particle minecraft:soul_fire_flame ~ ~ ~ 0.4 0.4 0.4 0 25

## Begin breaking blocks
scoreboard players set #VB vb.dummy1 0
execute if block ~ ~ ~1 #vb:trial_gate_vulnerable positioned ~ ~ ~1 run function vb:tick_entity/custom_block/trial_gate/break
execute if block ~ ~ ~-1 #vb:trial_gate_vulnerable positioned ~ ~ ~-1 run function vb:tick_entity/custom_block/trial_gate/break
execute if block ~1 ~ ~ #vb:trial_gate_vulnerable positioned ~1 ~ ~ run function vb:tick_entity/custom_block/trial_gate/break
execute if block ~-1 ~ ~ #vb:trial_gate_vulnerable positioned ~-1 ~ ~ run function vb:tick_entity/custom_block/trial_gate/break
execute if block ~ ~1 ~ #vb:trial_gate_vulnerable positioned ~ ~1 ~ run function vb:tick_entity/custom_block/trial_gate/break
execute if block ~ ~-1 ~ #vb:trial_gate_vulnerable positioned ~ ~-1 ~ run function vb:tick_entity/custom_block/trial_gate/break

function vb:tick_entity/custom_block/trial_gate/broken
