Package net.minecraft.client.sound
Class SoundEngine
java.lang.Object
net.minecraft.client.sound.SoundEngine
- Mappings:
Namespace Name official dym
intermediary net/minecraft/class_4225
named net/minecraft/client/sound/SoundEngine
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
private static interface
private static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate long
private long
private boolean
private static final SoundEngine.SourceSet
private static final int
private static final int
private final SoundListener
(package private) static final org.slf4j.Logger
private SoundEngine.SourceSet
private SoundEngine.SourceSet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private int
void
boolean
private static OptionalLong
openDevice
(@Nullable String deviceSpecifier) private static long
openDeviceOrFallback
(@Nullable String deviceSpecifier) void
private void
setDirectionalAudio
(boolean enabled) boolean
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official a
Ldym;a:Lorg/slf4j/Logger;
intermediary field_18897
Lnet/minecraft/class_4225;field_18897:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/sound/SoundEngine;LOGGER:Lorg/slf4j/Logger;
-
field_34945
private static final int field_34945- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldym;b:I
intermediary field_34945
Lnet/minecraft/class_4225;field_34945:I
named field_34945
Lnet/minecraft/client/sound/SoundEngine;field_34945:I
-
field_31897
private static final int field_31897- See Also:
- Mappings:
Namespace Name Mixin selector official c
Ldym;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
- Mappings:
Namespace Name Mixin selector official h
Ldym;h:Ldym$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
Ldym;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
Ldym;e:J
intermediary field_18899
Lnet/minecraft/class_4225;field_18899:J
named contextPointer
Lnet/minecraft/client/sound/SoundEngine;contextPointer:J
-
disconnectExtensionPresent
private boolean disconnectExtensionPresent- Mappings:
Namespace Name Mixin selector official f
Ldym;f:Z
intermediary field_34946
Lnet/minecraft/class_4225;field_34946:Z
named disconnectExtensionPresent
Lnet/minecraft/client/sound/SoundEngine;disconnectExtensionPresent:Z
-
deviceSpecifier
- Mappings:
Namespace Name Mixin selector official g
Ldym;g:Ljava/lang/String;
intermediary field_34947
Lnet/minecraft/class_4225;field_34947:Ljava/lang/String;
named deviceSpecifier
Lnet/minecraft/client/sound/SoundEngine;deviceSpecifier:Ljava/lang/String;
-
streamingSources
- Mappings:
Namespace Name Mixin selector official i
Ldym;i:Ldym$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
- Mappings:
Namespace Name Mixin selector official j
Ldym;j:Ldym$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
- Mappings:
Namespace Name Mixin selector official k
Ldym;k:Ldyn;
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
- Mappings:
Namespace Name Mixin selector official a
Ldym;a(Ljava/lang/String;Z)V
intermediary method_19661
Lnet/minecraft/class_4225;method_19661(Ljava/lang/String;Z)V
named init
Lnet/minecraft/client/sound/SoundEngine;init(Ljava/lang/String;Z)V
-
setDirectionalAudio
private void setDirectionalAudio(boolean enabled) - Mappings:
Namespace Name Mixin selector official a
Ldym;a(Z)V
intermediary method_41711
Lnet/minecraft/class_4225;method_41711(Z)V
named setDirectionalAudio
Lnet/minecraft/client/sound/SoundEngine;setDirectionalAudio(Z)V
-
getMonoSourceCount
private int getMonoSourceCount()- Mappings:
Namespace Name Mixin selector official i
Ldym;i()I
intermediary method_20297
Lnet/minecraft/class_4225;method_20297()I
named getMonoSourceCount
Lnet/minecraft/client/sound/SoundEngine;getMonoSourceCount()I
-
findAvailableDeviceSpecifier
- Mappings:
Namespace Name Mixin selector official a
Ldym;a()Ljava/lang/String;
intermediary method_38500
Lnet/minecraft/class_4225;method_38500()Ljava/lang/String;
named findAvailableDeviceSpecifier
Lnet/minecraft/client/sound/SoundEngine;findAvailableDeviceSpecifier()Ljava/lang/String;
-
getCurrentDeviceName
- Mappings:
Namespace Name Mixin selector official b
Ldym;b()Ljava/lang/String;
intermediary method_38722
Lnet/minecraft/class_4225;method_38722()Ljava/lang/String;
named getCurrentDeviceName
Lnet/minecraft/client/sound/SoundEngine;getCurrentDeviceName()Ljava/lang/String;
-
updateDeviceSpecifier
public boolean updateDeviceSpecifier()- Mappings:
Namespace Name Mixin selector official c
Ldym;c()Z
intermediary method_38723
Lnet/minecraft/class_4225;method_38723()Z
named updateDeviceSpecifier
Lnet/minecraft/client/sound/SoundEngine;updateDeviceSpecifier()Z
-
openDeviceOrFallback
- Mappings:
Namespace Name Mixin selector official a
Ldym;a(Ljava/lang/String;)J
intermediary method_38501
Lnet/minecraft/class_4225;method_38501(Ljava/lang/String;)J
named openDeviceOrFallback
Lnet/minecraft/client/sound/SoundEngine;openDeviceOrFallback(Ljava/lang/String;)J
-
openDevice
- Mappings:
Namespace Name Mixin selector official b
Ldym;b(Ljava/lang/String;)Ljava/util/OptionalLong;
intermediary method_20050
Lnet/minecraft/class_4225;method_20050(Ljava/lang/String;)Ljava/util/OptionalLong;
named openDevice
Lnet/minecraft/client/sound/SoundEngine;openDevice(Ljava/lang/String;)Ljava/util/OptionalLong;
-
close
public void close()- Mappings:
Namespace Name Mixin selector official d
Ldym;d()V
intermediary method_19664
Lnet/minecraft/class_4225;method_19664()V
named close
Lnet/minecraft/client/sound/SoundEngine;close()V
-
getListener
- Mappings:
Namespace Name Mixin selector official e
Ldym;e()Ldyn;
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
- Mappings:
Namespace Name Mixin selector official a
Ldym;a(Ldym$c;)Ldyl;
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
- Mappings:
Namespace Name Mixin selector official a
Ldym;a(Ldyl;)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
- Mappings:
Namespace Name Mixin selector official f
Ldym;f()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;
-
getSoundDevices
- Mappings:
Namespace Name Mixin selector official g
Ldym;g()Ljava/util/List;
intermediary method_38502
Lnet/minecraft/class_4225;method_38502()Ljava/util/List;
named getSoundDevices
Lnet/minecraft/client/sound/SoundEngine;getSoundDevices()Ljava/util/List;
-