mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-02-14 18:10:05 +00:00
Update speakers
This commit is contained in:
parent
4101cb2dfb
commit
8b7c769ff9
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user