1.execute @a[hasitem={item=diamond_sword,location=slot.weapon.mainhand},tag=sl] ~ ~ ~ damage @e[r=5,rm=0.5,type=!xp_orb,type=!item] 7 entity_attack entity @s
杀戮指令
2.execute @a[hasitem={item=diamond_sword,location=slot.weapon.mainhand},tag=sl] ~ ~ ~ execute @e[r=5.5,rm=0.5,type=!xp_orb,type=!item] ~ ~ ~ particle minecraft:critical_hit_emitter ~ ~2 ~
暴击粒子
3.execute @e[type=!player,type=!xp_orb,type=!item] ~ ~ ~ execute @e[r=5,type=player] ~ ~ ~ execute @a[hasitem={item=diamond_sword,location=slot.weapon.mainhand},tag=sl] ~ ~ ~ playsound game.player.attack.strong @p
挥手声音