# Clear items #
execute at @s unless block ~ ~ ~ minecraft:trapped_chest run function next_level:custom_blocks/diamond_anvil/drop

# run GUI # 
execute at @s run function next_level:custom_blocks/diamond_anvil/gui
