Class SoundEngine

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

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

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/sound/SoundEngine;LOGGER:Lorg/slf4j/Logger;
      intermediary field_18897 Lnet/minecraft/class_4225;field_18897:Lorg/slf4j/Logger;
      official a Leyk;a:Lorg/slf4j/Logger;
    • field_34945

      private static final int field_34945
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_34945 Lnet/minecraft/client/sound/SoundEngine;field_34945:I
      intermediary field_34945 Lnet/minecraft/class_4225;field_34945:I
      official b Leyk;b:I
    • field_31897

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

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

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

      private long contextPointer
      Mappings:
      Namespace Name Mixin selector
      named contextPointer Lnet/minecraft/client/sound/SoundEngine;contextPointer:J
      intermediary field_18899 Lnet/minecraft/class_4225;field_18899:J
      official e Leyk;e:J
    • disconnectExtensionPresent

      private boolean disconnectExtensionPresent
      Mappings:
      Namespace Name Mixin selector
      named disconnectExtensionPresent Lnet/minecraft/client/sound/SoundEngine;disconnectExtensionPresent:Z
      intermediary field_34946 Lnet/minecraft/class_4225;field_34946:Z
      official f Leyk;f:Z
    • deviceSpecifier

      @Nullable private @Nullable String deviceSpecifier
      Mappings:
      Namespace Name Mixin selector
      named deviceSpecifier Lnet/minecraft/client/sound/SoundEngine;deviceSpecifier:Ljava/lang/String;
      intermediary field_34947 Lnet/minecraft/class_4225;field_34947:Ljava/lang/String;
      official g Leyk;g:Ljava/lang/String;
    • streamingSources

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

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

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

    • SoundEngine

      public SoundEngine()
  • Method Details

    • init

      public void init(@Nullable @Nullable String deviceSpecifier, boolean directionalAudio)
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/sound/SoundEngine;init(Ljava/lang/String;Z)V
      intermediary method_19661 Lnet/minecraft/class_4225;method_19661(Ljava/lang/String;Z)V
      official a Leyk;a(Ljava/lang/String;Z)V
    • setDirectionalAudio

      private void setDirectionalAudio(boolean enabled)
      Mappings:
      Namespace Name Mixin selector
      named setDirectionalAudio Lnet/minecraft/client/sound/SoundEngine;setDirectionalAudio(Z)V
      intermediary method_41711 Lnet/minecraft/class_4225;method_41711(Z)V
      official a Leyk;a(Z)V
    • getMonoSourceCount

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

      @Nullable public static @Nullable String findAvailableDeviceSpecifier()
      Mappings:
      Namespace Name Mixin selector
      named findAvailableDeviceSpecifier Lnet/minecraft/client/sound/SoundEngine;findAvailableDeviceSpecifier()Ljava/lang/String;
      intermediary method_38500 Lnet/minecraft/class_4225;method_38500()Ljava/lang/String;
      official a Leyk;a()Ljava/lang/String;
    • getCurrentDeviceName

      public String getCurrentDeviceName()
      Mappings:
      Namespace Name Mixin selector
      named getCurrentDeviceName Lnet/minecraft/client/sound/SoundEngine;getCurrentDeviceName()Ljava/lang/String;
      intermediary method_38722 Lnet/minecraft/class_4225;method_38722()Ljava/lang/String;
      official b Leyk;b()Ljava/lang/String;
    • updateDeviceSpecifier

      public boolean updateDeviceSpecifier()
      Mappings:
      Namespace Name Mixin selector
      named updateDeviceSpecifier Lnet/minecraft/client/sound/SoundEngine;updateDeviceSpecifier()Z
      intermediary method_38723 Lnet/minecraft/class_4225;method_38723()Z
      official c Leyk;c()Z
    • openDeviceOrFallback

      private static long openDeviceOrFallback(@Nullable @Nullable String deviceSpecifier)
      Mappings:
      Namespace Name Mixin selector
      named openDeviceOrFallback Lnet/minecraft/client/sound/SoundEngine;openDeviceOrFallback(Ljava/lang/String;)J
      intermediary method_38501 Lnet/minecraft/class_4225;method_38501(Ljava/lang/String;)J
      official a Leyk;a(Ljava/lang/String;)J
    • openDevice

      private static OptionalLong openDevice(@Nullable @Nullable String deviceSpecifier)
      Mappings:
      Namespace Name Mixin selector
      named openDevice Lnet/minecraft/client/sound/SoundEngine;openDevice(Ljava/lang/String;)Ljava/util/OptionalLong;
      intermediary method_20050 Lnet/minecraft/class_4225;method_20050(Ljava/lang/String;)Ljava/util/OptionalLong;
      official b Leyk;b(Ljava/lang/String;)Ljava/util/OptionalLong;
    • close

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

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

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

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

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

      public List<String> getSoundDevices()
      Mappings:
      Namespace Name Mixin selector
      named getSoundDevices Lnet/minecraft/client/sound/SoundEngine;getSoundDevices()Ljava/util/List;
      intermediary method_38502 Lnet/minecraft/class_4225;method_38502()Ljava/util/List;
      official g Leyk;g()Ljava/util/List;
    • isDeviceUnavailable

      public boolean isDeviceUnavailable()
      Mappings:
      Namespace Name Mixin selector
      named isDeviceUnavailable Lnet/minecraft/client/sound/SoundEngine;isDeviceUnavailable()Z
      intermediary method_38724 Lnet/minecraft/class_4225;method_38724()Z
      official h Leyk;h()Z