
# -> Remove Display
execute on vehicle run \
    kill @s

# -> Check for creative mode
#scoreboard players set #or.global OverlyRealistic.General.ArbitraryData 0
#execute on origin \
    if entity @s[gamemode=creative] run \
        scoreboard players set #or.global OverlyRealistic.General.ArbitraryData 1

# -> Drop item
#execute unless score #or.global OverlyRealistic.General.ArbitraryData matches 1 run \
    function overly_realistic:general/custom_blocks/tanning_rack/tanning_rack_break with entity @s data

# -> Sound
playsound item.ink_sac.use block @a ~ ~ ~ 1 1
playsound item.ink_sac.use block @a ~ ~ ~ 1 1.5

# -> Remove interaction
kill @s