execute on origin run advancement grant @s only survivalplus:adventure/misc/chum
#execute if entity @s[tag=!goodbait] run summon marker ~ ~ ~ {Tags:[special,chum,settle],attributes:[{id:luck,base:-1f}]}
#execute if entity @s[tag=goodbait] run summon marker ~ ~ ~ {Tags:[special,chum,goodchum,settle],attributes:[{id:luck,base:1.5f}]}
#execute if entity @s[nbt={Item:{components:{"minecraft:custom_data":{superbait:tag}}}}] run attribute @n[type=marker,tag=superchum,tag=settle] minecraft:luck base set 3
execute if entity @s[tag=!goodbait] run summon armor_stand ~ ~ ~ {Tags:[special,chum,settle],Invisible:1b,Marker:1b,Small:1b,equipment:{mainhand:{id:spider_eye}}}
execute if entity @s[tag=goodbait] run summon armor_stand ~ ~ ~ {Tags:[special,chum,settle],Invisible:1b,Marker:1b,Small:1b,equipment:{mainhand:{id:fermented_spider_eye,components:{enchantment_glint_override:0b,enchantments:{luck_of_the_sea:1}}}}}
execute if entity @s[nbt={Item:{components:{"minecraft:custom_data":{superbait:tag}}}}] run tag @n[type=marker,tag=goodchum,tag=settle] add superchum
execute if entity @s[tag=superchum] run data modify entity @n[tag=settle] equipment.mainhand.components."minecraft:enchantments".luck_of_the_sea set value 3
particle minecraft:bubble ~ ~ ~ .1 .1 .1 0 8
particle item{item:{id:fermented_spider_eye}} ~ ~ ~ .1 .1 .1 .1 4
playsound minecraft:entity.generic.eat neutral @a ~ ~ ~ .5 1.5
kill @s