1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-02-14 01:50:04 +00:00

Update speakers

This commit is contained in:
Cruor 2017-05-16 23:33:09 +02:00 committed by GitHub
parent 4101cb2dfb
commit 8b7c769ff9

View File

@ -2,7 +2,7 @@ The Speaker is a peripheral device available for CraftOS. Type "help peripheral"
Methods exposed by the Speaker:
playSound( sResourceName, nVolume, nPitch )
playNote( sIntrumentName, nVolume, nTicks )
playNote( sInstrumentName, nVolume, nTicks )
Resource name is the same as used by the /playsound command, such as "minecraft:entity.cow.ambient".
Instruments are as follows: "harp", "bass", "snare", "hat", and "basedrum" with the addition of "flute", "bell", "chime", and "guitar" in Minecraft version 1.12 above.