How to make particle play on a hit. Minecraft(JAVA)
Channel:
Subscribers:
1,420
Published on ● Video Link: https://www.youtube.com/watch?v=yoSpMf8LtYo
Today i will show you how to play a particle when you hit something. *you have to manual activate it by pressing right click
COMMANDS:
/scoreboard objectives setdisplay sidebar Test
/scoreboard objectives add Test minecraft.used:minecraft.carrot_on_a_stick
/scoreboard players reset @a Test
/execute as @r at @s if entity @s[scores={Test=1..},nbt={SelectedItem:{id:"minecraft:diamond_sword",Count:1b}}] run particle minecraft:explosion_emitter ^ ^1.5 ^3