## Broken
execute unless block ~ ~ ~ minecraft:vault run function vb:tick_entity/custom_block/trial_gate/broken

## Render
data merge block ~ ~ ~ {shared_data:{display_item:{id:"minecraft:air"}}}

## State
execute if block ~ ~ ~ minecraft:vault[vault_state=active] run data merge entity @s {item:{components:{"minecraft:item_model":"vb:custom_block/trial_gate_open"}}}
execute unless block ~ ~ ~ minecraft:vault[vault_state=active] run data merge entity @s {item:{components:{"minecraft:item_model":"vb:custom_block/trial_gate"}}}

## Activate
execute if block ~ ~ ~ minecraft:vault[vault_state=ejecting] run function vb:tick_entity/custom_block/trial_gate/activate
