execute as @a run function cnk:players

execute as @e[type=minecraft:wandering_trader,tag=cnk.entity] at @s run function cnk:entity

execute as @e[type=minecraft:marker,tag=cnk.projectile] at @s run function cnk:projectiles