## Advancement granting
# Avoid the Void
execute if entity @s[scores={vb.timer.void_damage=1},nbt={Dimension:"minecraft:the_end"},y=-64,dy=999] run advancement grant @s only vb:end/avoid_the_void
execute if entity @s[scores={vb.timer.void_damage=1..}] run scoreboard players remove @s vb.timer.void_damage 1
# Stealth is Optional
execute if entity @e[type=warden,distance=..30] run advancement grant @s only vb:adventure/summon_warden

## Hot potato
execute if items entity @s container.* *[minecraft:custom_data~{vb.item.hot_potato:1b}] run function vb:tick_player/custom_item/hot_potato/owie_owie_hot
