How do I make command blocks that imitate a note block?
I would like to know the command that is required and the possible combinations for the variable that changes the pitch.
Best Answer
Yes, this is possible using this command:
/playsound (sound) @a X Y Z (Volume) (pitch)
Note: Pitch has to be 0-2. 0 is the lowest pitch, and 2 is the highest. You can use decimals such as 0.2 or 1.8.
Here is a list of all the sounds in minecraft:
http://minecraft.gamepedia.com/Sounds.json
You can play custom sounds that are in resource packs in the same manner.
Sounds of Noteblocks:
note.snare
A Note Block that is on top of a "sand" block is clicked or powered by redstone.
note.pling
None
note.hat
A Note Block that is on top of a "glass" block is clicked or powered by redstone.
note.harp
A Note Block that is on top of an "other" block is clicked or powered by redstone.
note.bd
A Note Block that is on top of a "stone" block is clicked or powered by redstone.
note.bassattack
A Note Block that is on top of a "wood" block is clicked or powered by redstone.
note.bass
None
Pictures about "How do I make command blocks that imitate a note block?"



How do you disguise a command block as a block?
1 Answer- Wood: Bass.
- Sand, Gravel, Concrete powder: Snare drum.
- Glass, Sea Lantern: Hi-hat.
- Stone, Netherrack, Nylium, Obsidian, Quartz, Sandstone, Ores: Kick bass.
- Gold Block: Glockenspiel.
- Clay: Flute.
- Packed ice: Chimes.
- Wool: Guitar.
What blocks can change note blocks?
With repeating command blocks, one can perform commands that other players can not perform. To get a repeating command block, players must use the /give command like so: /give @p minecraft:repeating_command_block <amount> .Minecraft Tutorial: Using Command Blocks as Noteblocks.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ann H, Ollie Craig, Sandro Sandrone Lazzarini, Suzy Hazelwood
