Class SoundEngine

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

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

    • field_31896

      private static final int field_31896
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Ldoj;a:I
      intermediary field_31896 Lnet/minecraft/class_4225;field_31896:I
      named field_31896 Lnet/minecraft/client/sound/SoundEngine;field_31896:I
    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Ldoj;b: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;
    • field_31897

      private static final int field_31897
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Ldoj;c:I
      intermediary field_31897 Lnet/minecraft/class_4225;field_31897:I
      named field_31897 Lnet/minecraft/client/sound/SoundEngine;field_31897:I
    • EMPTY_SOURCE_SET

      private static final SoundEngine.SourceSet EMPTY_SOURCE_SET
      Mappings:
      Namespace Name Mixin selector
      official f Ldoj;f:Ldoj$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 d Ldoj;d: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 e Ldoj;e: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 g Ldoj;g:Ldoj$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 h Ldoj;h:Ldoj$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 i Ldoj;i:Ldok;
      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 Ldoj;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 e Ldoj;e()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 f Ldoj;f()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 Ldoj;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 Ldoj;c()Ldok;
      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 @Nullable Source createSource(SoundEngine.RunMode mode)
      Mappings:
      Namespace Name Mixin selector
      official a Ldoj;a(Ldoj$c;)Ldoi;
      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 Ldoj;a(Ldoi;)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 Ldoj;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;