Class 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)
    • 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)