execute at @p[gamemode=!creative,gamemode=!spectator] at @e[type=minecraft:item_display,tag=manic.malefactor_trap,tag=!manic.malefactor_trap.active,sort=nearest,limit=1,distance=..32] run function manic:entity/malefactor/trap/main
function manic:entity/malefactor/animate/despawn
