1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-12 19:20:29 +00:00

nTicks -> nPitch in speaker help file

Not sure why this was called nTicks, but it had nothing to do with ticks.
This commit is contained in:
Lignum 2017-05-19 20:27:08 +02:00
parent c2af482615
commit c8697d9158
No known key found for this signature in database
GPG Key ID: E4DE8F54CA0912BA

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( sInstrumentName, nVolume, nTicks )
playNote( sInstrumentName, nVolume, nPitch )
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 versions 1.12 and above.