Class SoundEngine

java.lang.Object
net.minecraft.client.sounds.SoundEngine

public class SoundEngine extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • reload

      public void reload()
    • loadLibrary

      private void loadLibrary()
    • getVolume

      private float getVolume(@Nullable SoundSource p_120259_)
    • updateCategoryVolume

      public void updateCategoryVolume(SoundSource p_120261_, float p_120262_)
    • destroy

      public void destroy()
    • emergencyShutdown

      public void emergencyShutdown()
    • stop

      public void stop(SoundInstance p_120275_)
    • stopAll

      public void stopAll()
    • addEventListener

      public void addEventListener(SoundEventListener p_120296_)
    • removeEventListener

      public void removeEventListener(SoundEventListener p_120308_)
    • shouldChangeDevice

      private boolean shouldChangeDevice()
    • tick

      public void tick(boolean p_120303_)
    • tickNonPaused

      private void tickNonPaused()
    • requiresManualLooping

      private static boolean requiresManualLooping(SoundInstance p_120316_)
    • shouldLoopManually

      private static boolean shouldLoopManually(SoundInstance p_120319_)
    • shouldLoopAutomatically

      private static boolean shouldLoopAutomatically(SoundInstance p_120322_)
    • isActive

      public boolean isActive(SoundInstance p_120306_)
    • play

      public void play(SoundInstance p_120313_)
    • queueTickingSound

      public void queueTickingSound(TickableSoundInstance p_120283_)
    • requestPreload

      public void requestPreload(Sound p_120273_)
    • calculatePitch

      private float calculatePitch(SoundInstance p_120325_)
    • calculateVolume

      private float calculateVolume(SoundInstance p_120328_)
    • calculateVolume

      private float calculateVolume(float p_235258_, SoundSource p_235259_)
    • pause

      public void pause()
    • resume

      public void resume()
    • playDelayed

      public void playDelayed(SoundInstance p_120277_, int p_120278_)
    • updateSource

      public void updateSource(Camera p_120271_)
    • stop

      public void stop(@Nullable ResourceLocation p_120300_, @Nullable SoundSource p_120301_)
    • getDebugString

      public String getDebugString()
    • getAvailableSoundDevices

      public List<String> getAvailableSoundDevices()
    • getListenerTransform

      public ListenerTransform getListenerTransform()