Files
wand_magique
Code
4 17
wand_magique/data/wandmagie/function/tick.mcfunction
execute as @a if items entity @s weapon.mainhand minecraft:stick[minecraft:custom_data~{wandmagie:1b}] run effect give @s minecraft:speed 2 1 true
execute as @a if items entity @s weapon.mainhand minecraft:stick[minecraft:custom_data~{wandmagie:1b}] run effect give @s minecraft:glowing 2 0 true
execute as @a if items entity @s weapon.mainhand minecraft:stick[minecraft:custom_data~{wandmagie:1b}] at @s run particle minecraft:dust{color:[1.0,0.0,0.0],scale:0.8} ~ ~0.2 ~ 0.35 0.15 0.35 0 3 force
execute as @a if items entity @s weapon.mainhand minecraft:stick[minecraft:custom_data~{wandmagie:1b}] at @s run particle minecraft:dust{color:[1.0,0.0,0.0],scale:0.8} ~ ~0.9 ~ 0.35 0.3 0.35 0 3 force
execute as @a if items entity @s weapon.mainhand minecraft:stick[minecraft:custom_data~{wandmagie:1b}] at @s run particle minecraft:dust{color:[1.0,0.0,0.0],scale:0.8} ~ ~1.6 ~ 0.35 0.15 0.35 0 3 force