All checks were successful
Draft Release / deploy-prod (push) Successful in 4s
4 lines
481 B
MCFunction
4 lines
481 B
MCFunction
execute if entity @s[predicate=lzstools_chisel:mainhand/iron] at @s anchored eyes run particle minecraft:item{item:"minecraft:iron_sword"} ^ ^-0.35 ^0.65 0.1 0.1 0.1 0.06 10 force
|
|
execute if entity @s[predicate=lzstools_chisel:mainhand/diamond] at @s anchored eyes run particle minecraft:item{item:"minecraft:diamond_sword"} ^ ^-0.35 ^0.65 0.1 0.1 0.1 0.06 10 force
|
|
item replace entity @s weapon.mainhand with minecraft:air
|
|
playsound minecraft:entity.item.break master @a ~ ~ ~ 1 1 |