SoundPoolEntry net.minecraft.client.audio.SoundPool.addSound |
( |
String |
par1Str, |
|
|
File |
par2File |
|
) |
| |
Adds a sound to this sound pool.
SoundPoolEntry net.minecraft.client.audio.SoundPool.addSound |
( |
String |
par1Str, |
|
|
URL |
url |
|
) |
| |
URL version of addSound, as the back-end sound engine has full support for various types of URLs
- Parameters
-
par1Str | The name of the sound to add |
url | The url of the sound resource |
- Returns
- A SoundPoolEntry for the newly added sound
SoundPoolEntry net.minecraft.client.audio.SoundPool.getRandomSound |
( |
) | |
|
SoundPoolEntry net.minecraft.client.audio.SoundPool.getRandomSoundFromSoundPool |
( |
String |
par1Str) | |
|
gets a random sound from the specified (by name, can be sound/newsound/streaming/music/newmusic) sound pool.
boolean net.minecraft.client.audio.SoundPool.isGetRandomSound = true |
int net.minecraft.client.audio.SoundPool.numberOfSoundPoolEntries = 0 |
The number of soundPoolEntry's. This value is computed but never used (should be equal to allSoundPoolEntries.size()).
The documentation for this class was generated from the following file:
- C:/Users/LazDude/Downloads/MinecraftModding/YATS/forge/mcp/src/minecraft/net/minecraft/client/audio/SoundPool.java