1
/playsound command with random pitch?
So I'm making a map that has an anvil_land sound play at a certain point and was wondering, since it's very annoying to hear the same pitch sound repeatedly, is it possible at all to make a command block, or redstone circuitry, choose a random pitch for the sound?
Thanks in advance!
Thanks in advance!
Create an account or sign in to comment.
4
1
I'll try both of your ideas for this, thank you!
1
You can use a dispenser with 9 different command blocks with commands in it, as an original. Then clone it over a couple of blocks, then activate the dispenser so that it picks a random command block with command from 1-9. When the command is done, then you can replace the dispenser again with the original.
Use this video by SethBling as a reference.
Use this video by SethBling as a reference.
1
This only works in minecraft snapshots for 1.8 and 1.8 itself though
1
I think you can make it with a row of command blocks, each playing the sound with a different pitch and use a randomizer to trigger one random command block.
Sorry for my english