Hello guys!
Today I want to show you a little concept. LetsPlayNiklas asked me if I could make snowballs that take damage - and that is the result. I'm pretty happy with it, because it works on players and mobs.
--------------------------------------------------------------
Commands:
scoreboard players set @a HoldSnowball 0
scoreboard players set @a HoldSnowball 1 {SelectedItem:{id:"minecraft:snowball",tag:{display:{Name:"Heavy Snowball",Lore:["Damages Players!"]}}}}
execute @a[score_HoldSnowball_min=1] ~ ~ ~ scoreboard players set @e[type=Snowball,rm=3,r=4] Snowball 1
execute @e[type=Snowball,score_Snowball_min=1] ~ ~ ~ effect @e[r=2] wither 1 1 true
---------------
LetsPlayNiklas' channel: / channel
--------------------------------------------------------------
Music: The snow queen
Link: • Kevin MacLeod ~ The Snow Queen
-------------------------------------------------------------
Download: http://www.mediafire.com/download/ksy...
----------------------------------------------------------------
Thanks for watching!
cpmct32