Class SoundEngine

java.lang.Object
net.minecraft.client.audio.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 SoundCategory p_188769_1_)
    • updateCategoryVolume

      public void updateCategoryVolume(SoundCategory p_188771_1_, float p_188771_2_)
    • destroy

      public void destroy()
    • stop

      public void stop(ISound p_148602_1_)
    • stopAll

      public void stopAll()
    • addEventListener

      public void addEventListener(ISoundEventListener p_188774_1_)
    • removeEventListener

      public void removeEventListener(ISoundEventListener p_188773_1_)
    • tick

      public void tick(boolean p_217921_1_)
    • tickNonPaused

      private void tickNonPaused()
    • requiresManualLooping

      private static boolean requiresManualLooping(ISound p_239544_0_)
    • shouldLoopManually

      private static boolean shouldLoopManually(ISound p_239545_0_)
    • shouldLoopAutomatically

      private static boolean shouldLoopAutomatically(ISound p_239546_0_)
    • isActive

      public boolean isActive(ISound p_217933_1_)
    • play

      public void play(ISound p_148611_1_)
    • queueTickingSound

      public void queueTickingSound(ITickableSound p_229363_1_)
    • requestPreload

      public void requestPreload(Sound p_204259_1_)
    • calculatePitch

      private float calculatePitch(ISound p_188772_1_)
    • calculateVolume

      private float calculateVolume(ISound p_188770_1_)
    • pause

      public void pause()
    • resume

      public void resume()
    • playDelayed

      public void playDelayed(ISound p_148599_1_, int p_148599_2_)
    • updateSource

      public void updateSource(ActiveRenderInfo p_217920_1_)
    • stop

      public void stop(@Nullable ResourceLocation p_195855_1_, @Nullable SoundCategory p_195855_2_)
    • getDebugString

      public String getDebugString()