effect give @e[nbt={attributes:[{}]},distance=..3] slowness 5 3 false
effect give @e[nbt={attributes:[{}]},distance=..4.5] slowness 2 1 false
particle snowflake ~ ~1 ~ 0.5 0.25 0.5 0.5 50 normal
particle cloud ~ ~1 ~ 0.5 0.25 0.5 0.5 50 normal
playsound minecraft:entity.player.hurt_freeze block @a[distance=..200] ~ ~ ~ 1 0.75
playsound minecraft:block.glass.break block @a[distance=..200] ~ ~3 ~ 1 0
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
summon armor_stand ~ ~0.1 ~ {Small:1b,Invisible:1b,Invulnerable:1b,DisabledSlots:16191,Tags:["jjc","jjc_snowball"],Passengers:[{id:"item_display",Tags:["jjc","jjc_nov","jjc_snowball2"],item:{id:"snowball"},billboard:"center",transformation:{translation:[0f,-1f,0f],left_rotation:[0f,0f,0f,1f],right_rotation:[0f,0f,0f,1f],scale:[0.5f,0.5f,0.5f]}}]}
execute as @e[distance=..1,type=armor_stand,tag=jjc_snowball,limit=16,sort=nearest] at @s store result entity @s Motion[0] double 0.01 run random value -50..50
execute as @e[distance=..1,type=armor_stand,tag=jjc_snowball,limit=16,sort=nearest] at @s store result entity @s Motion[2] double 0.01 run random value -50..50
execute as @e[distance=..1,type=armor_stand,tag=jjc_snowball,limit=16,sort=nearest] at @s store result entity @s Motion[1] double 0.01 run random value 50..100
schedule function colosseum_of_fools:ss/frozen_zombie/snowball/tick 1t replace