Package net.lax1dude.eaglercraft.v1_8
Class EaglercraftSoundManager
- java.lang.Object
-
- net.lax1dude.eaglercraft.v1_8.EaglercraftSoundManager
-
public class EaglercraftSoundManager extends java.lang.Object
Copyright (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
EaglercraftSoundManager.ActiveSoundEvent
protected static class
EaglercraftSoundManager.WaitingSoundEvent
-
Constructor Summary
Constructors Constructor Description EaglercraftSoundManager(GameSettings settings, SoundHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSoundPlaying(ISound sound)
void
pauseAllSounds()
void
playDelayedSound(ISound sound, int delay)
void
playSound(ISound sound)
void
reloadSoundSystem()
void
resumeAllSounds()
void
setListener(EntityPlayer player, float partialTicks)
void
setSoundCategoryVolume(SoundCategory category, float volume)
void
stopAllSounds()
void
stopSound(ISound sound)
void
unloadSoundSystem()
void
updateAllSounds()
-
-
-
Constructor Detail
-
EaglercraftSoundManager
public EaglercraftSoundManager(GameSettings settings, SoundHandler handler)
-
-
Method Detail
-
unloadSoundSystem
public void unloadSoundSystem()
-
reloadSoundSystem
public void reloadSoundSystem()
-
setSoundCategoryVolume
public void setSoundCategoryVolume(SoundCategory category, float volume)
-
stopAllSounds
public void stopAllSounds()
-
pauseAllSounds
public void pauseAllSounds()
-
resumeAllSounds
public void resumeAllSounds()
-
updateAllSounds
public void updateAllSounds()
-
isSoundPlaying
public boolean isSoundPlaying(ISound sound)
-
stopSound
public void stopSound(ISound sound)
-
playSound
public void playSound(ISound sound)
-
playDelayedSound
public void playDelayedSound(ISound sound, int delay)
-
setListener
public void setListener(EntityPlayer player, float partialTicks)
-
-