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:
parent
c2af482615
commit
c8697d9158
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user