execute unless score bloodmoon time matches 1 run summon cod ~ ~ ~ {Tags:[fishmob]}
execute if score bloodmoon time matches 1 if score time time matches 12542..23400 run function survivalplus:tools/bloodfish
execute as @e[tag=fishmob] run data modify entity @s Motion set from entity @n[nbt={Item:{components:{"minecraft:custom_data":{customfish:tag}}}}] Motion
tag @e remove fishmob