This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
i tried putting this command in a command block but it wont work no matter what im doing
/testfor @e[type=Snowball] {/playsound fireworks.largeBlast @p ~ ~ ~ 50}
and i always end out with this
[14:26:59] Data tag parsing failed: Unable to locate name/value separator for string: /playsound fireworks.largeBlast @p ~ ~ ~ 50
plz help.
play sound when player throws a snowball
it dident work i tried it and i got this error
[16:33:49] Failed to execute '/playsound fireworks.largeBlast' as Snowball
http://minecraft.gamepedia.com/Commands#playsound
Type this first, this way we only play the sound right when it is thrown, not constantly till it breaks:
/scoreboard objectives add lifeTime dummy
Then put this on your clock:
/scoreboard players add @e[type=Snowball] lifeTime 1
/execute @e[type=Snowball,score_lifeTime=1] ~ ~ ~ playsound fireworks.largeBlast @a[r=10]
You weren't specifying any targets to play the sound to.
thanks bro i really appreciate it
i tried putting this command in a command block but it wont work no matter what im doing
/testfor @e[type=Snowball] {/playsound fireworks.largeBlast @p ~ ~ ~ 50}
and i always end out with this
[14:26:59] Data tag parsing failed: Unable to locate name/value separator for string: /playsound fireworks.largeBlast @p ~ ~ ~ 50
plz help.
play sound when player throws a snowball
it dident work i tried it and i got this error
[16:33:49] Failed to execute '/playsound fireworks.largeBlast' as Snowball
http://minecraft.gamepedia.com/Commands#playsound
Type this first, this way we only play the sound right when it is thrown, not constantly till it breaks:
/scoreboard objectives add lifeTime dummy
Then put this on your clock:
/scoreboard players add @e[type=Snowball] lifeTime 1
/execute @e[type=Snowball,score_lifeTime=1] ~ ~ ~ playsound fireworks.largeBlast @a[r=10]
You weren't specifying any targets to play the sound to.
thanks bro i really appreciate it