Package net.minecraft.src
Class SoundManager
- java.lang.Object
-
- net.minecraft.src.SoundManager
-
- All Implemented Interfaces:
ResourceReloadListener
@Client public class SoundManager extends java.lang.Object implements ResourceReloadListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoundManager.SoundSystemAccessor
-
Field Summary
Fields Modifier and Type Field Description static ResourceLocation
RELOAD_ID
-
Constructor Summary
Constructors Constructor Description SoundManager(Minecraft minecraft)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMusic(java.lang.String var1, java.io.File var2)
void
addSound(java.lang.String var1, java.io.File var2)
void
addStreaming(java.lang.String var1, java.io.File var2)
void
closeMinecraft()
ResourceLocation
getId()
void
loadSoundSettings(GameSettings var1)
void
onReload(ResourceManager manager)
void
onSoundOptionsChanged()
void
pauseAll()
void
playRandomMusicIfReady()
void
playSound(java.lang.String var1, float var2, float var3, float var4, float var5, float var6)
void
playSoundFX(java.lang.String var1, float var2, float var3)
void
playStreaming(java.lang.String var1, float var2, float var3, float var4, float var5, float var6)
void
resumeAll()
void
setListener(LivingEntity var1, float var2)
void
stopAll()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.modding.api.game.client.resources.ResourceReloadListener
getDependencies
-
-
-
-
Field Detail
-
RELOAD_ID
public static final ResourceLocation RELOAD_ID
-
-
Constructor Detail
-
SoundManager
public SoundManager(Minecraft minecraft)
-
-
Method Detail
-
getId
public ResourceLocation getId()
- Specified by:
getId
in interfaceResourceReloadListener
-
onReload
public void onReload(ResourceManager manager)
- Specified by:
onReload
in interfaceResourceReloadListener
-
loadSoundSettings
public void loadSoundSettings(GameSettings var1)
-
onSoundOptionsChanged
public void onSoundOptionsChanged()
-
closeMinecraft
public void closeMinecraft()
-
addSound
public void addSound(java.lang.String var1, java.io.File var2)
-
addStreaming
public void addStreaming(java.lang.String var1, java.io.File var2)
-
addMusic
public void addMusic(java.lang.String var1, java.io.File var2)
-
playRandomMusicIfReady
public void playRandomMusicIfReady()
-
setListener
public void setListener(LivingEntity var1, float var2)
-
playStreaming
public void playStreaming(java.lang.String var1, float var2, float var3, float var4, float var5, float var6)
-
playSound
public void playSound(java.lang.String var1, float var2, float var3, float var4, float var5, float var6)
-
playSoundFX
public void playSoundFX(java.lang.String var1, float var2, float var3)
-
pauseAll
public void pauseAll()
-
resumeAll
public void resumeAll()
-
stopAll
public void stopAll()
-
-