Package net.minecraft.client.sound
Class SoundEngine
java.lang.Object
net.minecraft.client.sound.SoundEngine
- Mappings:
Namespace Name named net/minecraft/client/sound/SoundEngine
intermediary net/minecraft/class_4225
official eyz
-
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 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
- 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
Leyz;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
Leyz;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
Leyz;c:I
-
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
Leyz;h:Leyz$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
Leyz;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
Leyz;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
Leyz;f:Z
-
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
Leyz;g:Ljava/lang/String;
-
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
Leyz;i:Leyz$a;
-
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
Leyz;j:Leyz$a;
-
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
Leyz;k:Leza;
-
-
Constructor Details
-
SoundEngine
public SoundEngine()
-
-
Method Details
-
init
- 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
Leyz;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
Leyz;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
Leyz;i()I
-
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
Leyz;a()Ljava/lang/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
Leyz;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
Leyz;c()Z
-
openDeviceOrFallback
- 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
Leyz;a(Ljava/lang/String;)J
-
openDevice
- 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
Leyz;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
Leyz;d()V
-
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
Leyz;e()Leza;
-
createSource
- 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
Leyz;a(Leyz$c;)Leyy;
-
release
- 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
Leyz;a(Leyy;)V
-
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
Leyz;f()Ljava/lang/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
Leyz;g()Ljava/util/List;
-