Class SoundEngine

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

@Environment(CLIENT)
public class SoundEngine
extends Object
Mappings:
Namespace Name
official dka
intermediary net/minecraft/class_4225
named net/minecraft/client/sound/SoundEngine
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Ldka;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_18897 Lnet/minecraft/class_4225;field_18897:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/sound/SoundEngine;LOGGER:Lorg/apache/logging/log4j/Logger;
    • EMPTY_SOURCE_SET

      private static final SoundEngine.SourceSet EMPTY_SOURCE_SET
      Mappings:
      Namespace Name Mixin selector
      official d Ldka;d:Ldka$a;
      intermediary field_19183 Lnet/minecraft/class_4225;field_19183:Lnet/minecraft/class_4225$class_4276;
      named EMPTY_SOURCE_SET Lnet/minecraft/client/sound/SoundEngine;EMPTY_SOURCE_SET:Lnet/minecraft/client/sound/SoundEngine$SourceSet;
    • devicePointer

      private long devicePointer
      Mappings:
      Namespace Name Mixin selector
      official b Ldka;b:J
      intermediary field_18898 Lnet/minecraft/class_4225;field_18898:J
      named devicePointer Lnet/minecraft/client/sound/SoundEngine;devicePointer:J
    • contextPointer

      private long contextPointer
      Mappings:
      Namespace Name Mixin selector
      official c Ldka;c:J
      intermediary field_18899 Lnet/minecraft/class_4225;field_18899:J
      named contextPointer Lnet/minecraft/client/sound/SoundEngine;contextPointer:J
    • streamingSources

      private SoundEngine.SourceSet streamingSources
      Mappings:
      Namespace Name Mixin selector
      official e Ldka;e:Ldka$a;
      intermediary field_19184 Lnet/minecraft/class_4225;field_19184:Lnet/minecraft/class_4225$class_4276;
      named streamingSources Lnet/minecraft/client/sound/SoundEngine;streamingSources:Lnet/minecraft/client/sound/SoundEngine$SourceSet;
    • staticSources

      private SoundEngine.SourceSet staticSources
      Mappings:
      Namespace Name Mixin selector
      official f Ldka;f:Ldka$a;
      intermediary field_19185 Lnet/minecraft/class_4225;field_19185:Lnet/minecraft/class_4225$class_4276;
      named staticSources Lnet/minecraft/client/sound/SoundEngine;staticSources:Lnet/minecraft/client/sound/SoundEngine$SourceSet;
    • listener

      private final SoundListener listener
      Mappings:
      Namespace Name Mixin selector
      official g Ldka;g:Ldkb;
      intermediary field_18902 Lnet/minecraft/class_4225;field_18902:Lnet/minecraft/class_4227;
      named listener Lnet/minecraft/client/sound/SoundEngine;listener:Lnet/minecraft/client/sound/SoundListener;
  • Constructor Details

    • SoundEngine

      public SoundEngine()
  • Method Details

    • init

      public void init()
      Mappings:
      Namespace Name Mixin selector
      official a Ldka;a()V
      intermediary method_19661 Lnet/minecraft/class_4225;method_19661()V
      named init Lnet/minecraft/client/sound/SoundEngine;init()V
    • getMonoSourceCount

      private int getMonoSourceCount()
      Mappings:
      Namespace Name Mixin selector
      official f Ldka;f()I
      intermediary method_20297 Lnet/minecraft/class_4225;method_20297()I
      named getMonoSourceCount Lnet/minecraft/client/sound/SoundEngine;getMonoSourceCount()I
    • openDevice

      private static long openDevice()
      Mappings:
      Namespace Name Mixin selector
      official g Ldka;g()J
      intermediary method_20050 Lnet/minecraft/class_4225;method_20050()J
      named openDevice Lnet/minecraft/client/sound/SoundEngine;openDevice()J
    • close

      public void close()
      Mappings:
      Namespace Name Mixin selector
      official b Ldka;b()V
      intermediary method_19664 Lnet/minecraft/class_4225;method_19664()V
      named close Lnet/minecraft/client/sound/SoundEngine;close()V
    • getListener

      public SoundListener getListener()
      Mappings:
      Namespace Name Mixin selector
      official c Ldka;c()Ldkb;
      intermediary method_19665 Lnet/minecraft/class_4225;method_19665()Lnet/minecraft/class_4227;
      named getListener Lnet/minecraft/client/sound/SoundEngine;getListener()Lnet/minecraft/client/sound/SoundListener;
    • createSource

      @Nullable public Source createSource​(SoundEngine.RunMode mode)
      Mappings:
      Namespace Name Mixin selector
      official a Ldka;a(Ldka$c;)Ldjz;
      intermediary method_19663 Lnet/minecraft/class_4225;method_19663(Lnet/minecraft/class_4225$class_4105;)Lnet/minecraft/class_4224;
      named createSource Lnet/minecraft/client/sound/SoundEngine;createSource(Lnet/minecraft/client/sound/SoundEngine$RunMode;)Lnet/minecraft/client/sound/Source;
    • release

      public void release​(Source source)
      Mappings:
      Namespace Name Mixin selector
      official a Ldka;a(Ldjz;)V
      intermediary method_19662 Lnet/minecraft/class_4225;method_19662(Lnet/minecraft/class_4224;)V
      named release Lnet/minecraft/client/sound/SoundEngine;release(Lnet/minecraft/client/sound/Source;)V
    • getDebugString

      public String getDebugString()
      Mappings:
      Namespace Name Mixin selector
      official d Ldka;d()Ljava/lang/String;
      intermediary method_20296 Lnet/minecraft/class_4225;method_20296()Ljava/lang/String;
      named getDebugString Lnet/minecraft/client/sound/SoundEngine;getDebugString()Ljava/lang/String;