Class SoundHelper

java.lang.Object
net.minecraft.client.sound.SoundHelper

@Environment(CLIENT) public class SoundHelper extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_617
glue class_712
server net/minecraft/class_617
client yo
named net/minecraft/client/sound/SoundHelper
  • Field Details

    • soundSystem

      private static SoundSystem soundSystem
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2667 Lnet/minecraft/class_617;field_2667:Lpaulscode/sound/SoundSystem;
      glue field_2900 Lclass_712;field_2900:Lpaulscode/sound/SoundSystem;
      server field_2667 Lnet/minecraft/class_617;field_2667:Lpaulscode/sound/SoundSystem;
      client a Lyo;a:Lpaulscode/sound/SoundSystem;
      named soundSystem Lnet/minecraft/client/sound/SoundHelper;soundSystem:Lpaulscode/sound/SoundSystem;
    • initialized

      private static boolean initialized
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2673 Lnet/minecraft/class_617;field_2673:Z
      glue field_2906 Lclass_712;field_2906:Z
      server field_2673 Lnet/minecraft/class_617;field_2673:Z
      client g Lyo;g:Z
      named initialized Lnet/minecraft/client/sound/SoundHelper;initialized:Z
    • sounds

      private SoundMap sounds
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2668 Lnet/minecraft/class_617;field_2668:Lnet/minecraft/class_266;
      glue field_2901 Lclass_712;field_2901:Lclass_291;
      server field_2668 Lnet/minecraft/class_617;field_2668:Lnet/minecraft/class_266;
      client b Lyo;b:Lhr;
      named sounds Lnet/minecraft/client/sound/SoundHelper;sounds:Lnet/minecraft/client/sound/SoundMap;
    • streaming

      private SoundMap streaming
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2669 Lnet/minecraft/class_617;field_2669:Lnet/minecraft/class_266;
      glue field_2902 Lclass_712;field_2902:Lclass_291;
      server field_2669 Lnet/minecraft/class_617;field_2669:Lnet/minecraft/class_266;
      client c Lyo;c:Lhr;
      named streaming Lnet/minecraft/client/sound/SoundHelper;streaming:Lnet/minecraft/client/sound/SoundMap;
    • music

      private SoundMap music
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2670 Lnet/minecraft/class_617;field_2670:Lnet/minecraft/class_266;
      glue field_2903 Lclass_712;field_2903:Lclass_291;
      server field_2670 Lnet/minecraft/class_617;field_2670:Lnet/minecraft/class_266;
      client d Lyo;d:Lhr;
      named music Lnet/minecraft/client/sound/SoundHelper;music:Lnet/minecraft/client/sound/SoundMap;
    • soundUID

      private int soundUID
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2671 Lnet/minecraft/class_617;field_2671:I
      glue field_2904 Lclass_712;field_2904:I
      server field_2671 Lnet/minecraft/class_617;field_2671:I
      client e Lyo;e:I
      named soundUID Lnet/minecraft/client/sound/SoundHelper;soundUID:I
    • gameOptions

      private GameOptions gameOptions
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2672 Lnet/minecraft/class_617;field_2672:Lnet/minecraft/class_322;
      glue field_2905 Lclass_712;field_2905:Lclass_419;
      server field_2672 Lnet/minecraft/class_617;field_2672:Lnet/minecraft/class_322;
      client f Lyo;f:Lkv;
      named gameOptions Lnet/minecraft/client/sound/SoundHelper;gameOptions:Lnet/minecraft/client/options/GameOptions;
    • rand

      private Random rand
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2674 Lnet/minecraft/class_617;field_2674:Ljava/util/Random;
      glue field_2907 Lclass_712;field_2907:Ljava/util/Random;
      server field_2674 Lnet/minecraft/class_617;field_2674:Ljava/util/Random;
      client h Lyo;h:Ljava/util/Random;
      named rand Lnet/minecraft/client/sound/SoundHelper;rand:Ljava/util/Random;
    • musicCountdown

      private int musicCountdown
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2675 Lnet/minecraft/class_617;field_2675:I
      glue field_2908 Lclass_712;field_2908:I
      server field_2675 Lnet/minecraft/class_617;field_2675:I
      client i Lyo;i:I
      named musicCountdown Lnet/minecraft/client/sound/SoundHelper;musicCountdown:I
  • Constructor Details

    • SoundHelper

      public SoundHelper()
  • Method Details

    • acceptOptions

      public void acceptOptions(GameOptions gameOptions)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2012 Lnet/minecraft/class_617;method_2012(Lnet/minecraft/class_322;)V
      glue method_2280 Lclass_712;method_2280(Lclass_419;)V
      server method_2012 Lnet/minecraft/class_617;method_2012(Lnet/minecraft/class_322;)V
      client a Lyo;a(Lkv;)V
      named acceptOptions Lnet/minecraft/client/sound/SoundHelper;acceptOptions(Lnet/minecraft/client/options/GameOptions;)V
    • setLibsAndCodecs

      private void setLibsAndCodecs()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2019 Lnet/minecraft/class_617;method_2019()V
      glue method_2287 Lclass_712;method_2287()V
      server method_2019 Lnet/minecraft/class_617;method_2019()V
      client d Lyo;d()V
      named setLibsAndCodecs Lnet/minecraft/client/sound/SoundHelper;setLibsAndCodecs()V
    • updateMusicVolume

      public void updateMusicVolume()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2008 Lnet/minecraft/class_617;method_2008()V
      glue method_2276 Lclass_712;method_2276()V
      server method_2008 Lnet/minecraft/class_617;method_2008()V
      client a Lyo;a()V
      named updateMusicVolume Lnet/minecraft/client/sound/SoundHelper;updateMusicVolume()V
    • cleanup

      public void cleanup()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2014 Lnet/minecraft/class_617;method_2014()V
      glue method_2282 Lclass_712;method_2282()V
      server method_2014 Lnet/minecraft/class_617;method_2014()V
      client b Lyo;b()V
      named cleanup Lnet/minecraft/client/sound/SoundHelper;cleanup()V
    • addSound

      public void addSound(String string, File file)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2011 Lnet/minecraft/class_617;method_2011(Ljava/lang/String;Ljava/io/File;)V
      glue method_2279 Lclass_712;method_2279(Ljava/lang/String;Ljava/io/File;)V
      server method_2011 Lnet/minecraft/class_617;method_2011(Ljava/lang/String;Ljava/io/File;)V
      client a Lyo;a(Ljava/lang/String;Ljava/io/File;)V
      named addSound Lnet/minecraft/client/sound/SoundHelper;addSound(Ljava/lang/String;Ljava/io/File;)V
    • addStreaming

      public void addStreaming(String string, File file)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2016 Lnet/minecraft/class_617;method_2016(Ljava/lang/String;Ljava/io/File;)V
      glue method_2284 Lclass_712;method_2284(Ljava/lang/String;Ljava/io/File;)V
      server method_2016 Lnet/minecraft/class_617;method_2016(Ljava/lang/String;Ljava/io/File;)V
      client b Lyo;b(Ljava/lang/String;Ljava/io/File;)V
      named addStreaming Lnet/minecraft/client/sound/SoundHelper;addStreaming(Ljava/lang/String;Ljava/io/File;)V
    • addMusic

      public void addMusic(String string, File file)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2018 Lnet/minecraft/class_617;method_2018(Ljava/lang/String;Ljava/io/File;)V
      glue method_2286 Lclass_712;method_2286(Ljava/lang/String;Ljava/io/File;)V
      server method_2018 Lnet/minecraft/class_617;method_2018(Ljava/lang/String;Ljava/io/File;)V
      client c Lyo;c(Ljava/lang/String;Ljava/io/File;)V
      named addMusic Lnet/minecraft/client/sound/SoundHelper;addMusic(Ljava/lang/String;Ljava/io/File;)V
    • handleBackgroundMusic

      public void handleBackgroundMusic()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2017 Lnet/minecraft/class_617;method_2017()V
      glue method_2285 Lclass_712;method_2285()V
      server method_2017 Lnet/minecraft/class_617;method_2017()V
      client c Lyo;c()V
      named handleBackgroundMusic Lnet/minecraft/client/sound/SoundHelper;handleBackgroundMusic()V
    • setSoundPosition

      public void setSoundPosition(Living entity, float positionScale)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2013 Lnet/minecraft/class_617;method_2013(Lnet/minecraft/class_127;F)V
      glue method_2281 Lclass_712;method_2281(Lclass_283;F)V
      server method_2013 Lnet/minecraft/class_617;method_2013(Lhl;F)V
      client a Lyo;a(Lls;F)V
      named setSoundPosition Lnet/minecraft/client/sound/SoundHelper;setSoundPosition(Lnet/minecraft/entity/Living;F)V
    • playStreaming

      public void playStreaming(String string, float x, float y, float z, float volume, float ignored)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2010 Lnet/minecraft/class_617;method_2010(Ljava/lang/String;FFFFF)V
      glue method_2278 Lclass_712;method_2278(Ljava/lang/String;FFFFF)V
      server method_2010 Lnet/minecraft/class_617;method_2010(Ljava/lang/String;FFFFF)V
      client a Lyo;a(Ljava/lang/String;FFFFF)V
      named playStreaming Lnet/minecraft/client/sound/SoundHelper;playStreaming(Ljava/lang/String;FFFFF)V
    • playSound

      public void playSound(String string, float x, float y, float z, float volume, float pitch)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2015 Lnet/minecraft/class_617;method_2015(Ljava/lang/String;FFFFF)V
      glue method_2283 Lclass_712;method_2283(Ljava/lang/String;FFFFF)V
      server method_2015 Lnet/minecraft/class_617;method_2015(Ljava/lang/String;FFFFF)V
      client b Lyo;b(Ljava/lang/String;FFFFF)V
      named playSound Lnet/minecraft/client/sound/SoundHelper;playSound(Ljava/lang/String;FFFFF)V
    • playSound

      public void playSound(String string, float float2, float float3)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2009 Lnet/minecraft/class_617;method_2009(Ljava/lang/String;FF)V
      glue method_2277 Lclass_712;method_2277(Ljava/lang/String;FF)V
      server method_2009 Lnet/minecraft/class_617;method_2009(Ljava/lang/String;FF)V
      client a Lyo;a(Ljava/lang/String;FF)V
      named playSound Lnet/minecraft/client/sound/SoundHelper;playSound(Ljava/lang/String;FF)V