function vb:tick_entity/custom_block/fish_trap/lose_fish
function vb:tick_entity/custom_block/fish_trap/lose_fish
function vb:tick_entity/custom_block/fish_trap/lose_fish
function vb:tick_entity/custom_block/fish_trap/lose_fish
function vb:tick_entity/custom_block/fish_trap/lose_fish
item modify entity @n[type=item,distance=..10,nbt={Item:{id:"minecraft:spruce_planks"}}] container.0 {function:"minecraft:set_count",count:-1,add:1b}
loot spawn ~ ~ ~ loot vb:items/fish_trap
kill @n[type=interaction,tag=vb.custom_block_interaction.fish_trap,distance=..0.1]
kill @s