net.minecraft.client.audio

## Class SoundPool

- java.lang.Object
- - net.minecraft.client.audio.SoundPool

-     public class SoundPool
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SoundPool(ResourceManager par1ResourceManager, String par2Str, boolean par3)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addSound(String par1Str)` Adds a sound to this sound pool.
    `SoundPoolEntry` | `getRandomSound()` Gets a random SoundPoolEntry.
    `SoundPoolEntry` | `getRandomSoundFromSoundPool(String par1Str)` gets a random sound from the specified (by name, can be sound/newsound/streaming/music/newmusic) sound pool.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SoundPool

          public SoundPool(ResourceManager par1ResourceManager,
                   String par2Str,
                   boolean par3)

  - ### Method Detail

    - #### addSound

          public void addSound(String par1Str)

      Adds a sound to this sound pool.

    - #### getRandomSoundFromSoundPool

          public SoundPoolEntry getRandomSoundFromSoundPool(String par1Str)

      gets a random sound from the specified (by name, can be sound/newsound/streaming/music/newmusic) sound pool.

    - #### getRandomSound

          public SoundPoolEntry getRandomSound()

      Gets a random SoundPoolEntry.