Zrób to w ten sposób.
if target entity of player is set:
if distance between player and target entity is less than 26:
play sound "entity.firework.blast" at targeted entity with pitch 1 volume 10
drawLine particle redstone, RGB 75, 0, 133, center head location of player, target head location of targeted entity, id "MPR_SL.%player%", density 100, visibleRange 50
drawHalo particle "redstone", RGB 255, 157, 0, center target entity, id "MPR_H.%player%", rainbowMode false, solid true, density 100, visibleRange 50
if targeted entity is a witch:
set {_n} to 35
- Tu jeszcze dodaje pewne liczby do zmiennej -
damage targeted entity by {_n}
wait 0.3 second
stopEffect "MPR_SL.%player%"
stopEffect "MPR_H.%player%"
Pewnie dałoby się, ale to jest masa niepotrzebnej roboty.