Package net.minecraft.client.sound
Class SoundManager
java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloadListener<SoundManager.SoundList>
net.minecraft.client.sound.SoundManager
- All Implemented Interfaces:
ResourceReloadListener
@Environment(CLIENT) public class SoundManager extends SinglePreparationResourceReloadListener<SoundManager.SoundList>
- Mappings:
Namespace Name official evmintermediary net/minecraft/class_1144named net/minecraft/client/sound/SoundManager
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSoundManager.SoundListNested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloadListener
ResourceReloadListener.Synchronizer -
Field Summary
Fields Modifier and Type Field Description private static GsonGSONprivate static LoggerLOGGERstatic SoundMISSING_SOUNDprivate Map<Identifier,WeightedSoundSet>soundsprivate SoundSystemsoundSystemprivate static TypeToken<Map<String,SoundEntry>>TYPE -
Constructor Summary
Constructors Constructor Description SoundManager(ResourceManager resourceManager, GameOptions gameOptions) -
Method Summary
Methods inherited from class net.minecraft.resource.SinglePreparationResourceReloadListener
reloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.ResourceReloadListener
getName
-
Field Details
-
MISSING_SOUND
- Mappings:
Namespace Name Mixin selector official aLevm;a:Leui;intermediary field_5592Lnet/minecraft/class_1144;field_5592:Lnet/minecraft/class_1111;named MISSING_SOUNDLnet/minecraft/client/sound/SoundManager;MISSING_SOUND:Lnet/minecraft/client/sound/Sound;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLevm;b:Lorg/apache/logging/log4j/Logger;intermediary field_5593Lnet/minecraft/class_1144;field_5593:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/sound/SoundManager;LOGGER:Lorg/apache/logging/log4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official cLevm;c:Lcom/google/gson/Gson;intermediary field_5594Lnet/minecraft/class_1144;field_5594:Lcom/google/gson/Gson;named GSONLnet/minecraft/client/sound/SoundManager;GSON:Lcom/google/gson/Gson;
-
TYPE
- Mappings:
Namespace Name Mixin selector official dLevm;d:Lcom/google/gson/reflect/TypeToken;intermediary field_5591Lnet/minecraft/class_1144;field_5591:Lcom/google/gson/reflect/TypeToken;named TYPELnet/minecraft/client/sound/SoundManager;TYPE:Lcom/google/gson/reflect/TypeToken;
-
sounds
- Mappings:
Namespace Name Mixin selector official eLevm;e:Ljava/util/Map;intermediary field_5588Lnet/minecraft/class_1144;field_5588:Ljava/util/Map;named soundsLnet/minecraft/client/sound/SoundManager;sounds:Ljava/util/Map;
-
soundSystem
- Mappings:
Namespace Name Mixin selector official fLevm;f:Levj;intermediary field_5590Lnet/minecraft/class_1144;field_5590:Lnet/minecraft/class_1140;named soundSystemLnet/minecraft/client/sound/SoundManager;soundSystem:Lnet/minecraft/client/sound/SoundSystem;
-
-
Constructor Details
-
SoundManager
-
-
Method Details
-
prepare
- Specified by:
preparein classSinglePreparationResourceReloadListener<SoundManager.SoundList>- Mappings:
Namespace Name Mixin selector official aLevm;a(Lacx;Laos;)Levm$a;intermediary method_18180Lnet/minecraft/class_1144;method_18180(Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Lnet/minecraft/class_1144$class_4009;named prepareLnet/minecraft/client/sound/SoundManager;prepare(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)Lnet/minecraft/client/sound/SoundManager$SoundList;
-
apply
protected void apply(SoundManager.SoundList soundList, ResourceManager resourceManager, Profiler profiler)- Specified by:
applyin classSinglePreparationResourceReloadListener<SoundManager.SoundList>- Mappings:
Namespace Name Mixin selector official aLevm;a(Levm$a;Lacx;Laos;)Vintermediary method_18182Lnet/minecraft/class_1144;method_18182(Lnet/minecraft/class_1144$class_4009;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Vnamed applyLnet/minecraft/client/sound/SoundManager;apply(Lnet/minecraft/client/sound/SoundManager$SoundList;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
-
isSoundResourcePresent
private static boolean isSoundResourcePresent(Sound sound, Identifier id, ResourceManager resourceManager)- Mappings:
Namespace Name Mixin selector official bLevm;b(Leui;Lwb;Lacx;)Zintermediary method_4868Lnet/minecraft/class_1144;method_4868(Lnet/minecraft/class_1111;Lnet/minecraft/class_2960;Lnet/minecraft/class_3300;)Znamed isSoundResourcePresentLnet/minecraft/client/sound/SoundManager;isSoundResourcePresent(Lnet/minecraft/client/sound/Sound;Lnet/minecraft/util/Identifier;Lnet/minecraft/resource/ResourceManager;)Z
-
get
- Mappings:
Namespace Name Mixin selector official aLevm;a(Lwb;)Levn;intermediary method_4869Lnet/minecraft/class_1144;method_4869(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1146;named getLnet/minecraft/client/sound/SoundManager;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/sound/WeightedSoundSet;
-
getKeys
- Mappings:
Namespace Name Mixin selector official aLevm;a()Ljava/util/Collection;intermediary method_4864Lnet/minecraft/class_1144;method_4864()Ljava/util/Collection;named getKeysLnet/minecraft/client/sound/SoundManager;getKeys()Ljava/util/Collection;
-
playNextTick
- Mappings:
Namespace Name Mixin selector official aLevm;a(Leum;)Vintermediary method_22140Lnet/minecraft/class_1144;method_22140(Lnet/minecraft/class_1117;)Vnamed playNextTickLnet/minecraft/client/sound/SoundManager;playNextTick(Lnet/minecraft/client/sound/TickableSoundInstance;)V
-
play
- Mappings:
Namespace Name Mixin selector official aLevm;a(Leul;)Vintermediary method_4873Lnet/minecraft/class_1144;method_4873(Lnet/minecraft/class_1113;)Vnamed playLnet/minecraft/client/sound/SoundManager;play(Lnet/minecraft/client/sound/SoundInstance;)V
-
play
- Mappings:
Namespace Name Mixin selector official aLevm;a(Leul;I)Vintermediary method_4872Lnet/minecraft/class_1144;method_4872(Lnet/minecraft/class_1113;I)Vnamed playLnet/minecraft/client/sound/SoundManager;play(Lnet/minecraft/client/sound/SoundInstance;I)V
-
updateListenerPosition
- Mappings:
Namespace Name Mixin selector official aLevm;a(Ldpv;)Vintermediary method_4876Lnet/minecraft/class_1144;method_4876(Lnet/minecraft/class_4184;)Vnamed updateListenerPositionLnet/minecraft/client/sound/SoundManager;updateListenerPosition(Lnet/minecraft/client/render/Camera;)V
-
pauseAll
public void pauseAll()- Mappings:
Namespace Name Mixin selector official bLevm;b()Vintermediary method_4879Lnet/minecraft/class_1144;method_4879()Vnamed pauseAllLnet/minecraft/client/sound/SoundManager;pauseAll()V
-
stopAll
public void stopAll()- Mappings:
Namespace Name Mixin selector official dLevm;d()Vintermediary method_4881Lnet/minecraft/class_1144;method_4881()Vnamed stopAllLnet/minecraft/client/sound/SoundManager;stopAll()V
-
close
public void close()- Mappings:
Namespace Name Mixin selector official eLevm;e()Vintermediary method_4882Lnet/minecraft/class_1144;method_4882()Vnamed closeLnet/minecraft/client/sound/SoundManager;close()V
-
tick
public void tick(boolean bool)- Mappings:
Namespace Name Mixin selector official aLevm;a(Z)Vintermediary method_18670Lnet/minecraft/class_1144;method_18670(Z)Vnamed tickLnet/minecraft/client/sound/SoundManager;tick(Z)V
-
resumeAll
public void resumeAll()- Mappings:
Namespace Name Mixin selector official fLevm;f()Vintermediary method_4880Lnet/minecraft/class_1144;method_4880()Vnamed resumeAllLnet/minecraft/client/sound/SoundManager;resumeAll()V
-
updateSoundVolume
- Mappings:
Namespace Name Mixin selector official aLevm;a(Laeh;F)Vintermediary method_4865Lnet/minecraft/class_1144;method_4865(Lnet/minecraft/class_3419;F)Vnamed updateSoundVolumeLnet/minecraft/client/sound/SoundManager;updateSoundVolume(Lnet/minecraft/sound/SoundCategory;F)V
-
stop
- Mappings:
Namespace Name Mixin selector official bLevm;b(Leul;)Vintermediary method_4870Lnet/minecraft/class_1144;method_4870(Lnet/minecraft/class_1113;)Vnamed stopLnet/minecraft/client/sound/SoundManager;stop(Lnet/minecraft/client/sound/SoundInstance;)V
-
isPlaying
- Mappings:
Namespace Name Mixin selector official cLevm;c(Leul;)Zintermediary method_4877Lnet/minecraft/class_1144;method_4877(Lnet/minecraft/class_1113;)Znamed isPlayingLnet/minecraft/client/sound/SoundManager;isPlaying(Lnet/minecraft/client/sound/SoundInstance;)Z
-
registerListener
- Mappings:
Namespace Name Mixin selector official aLevm;a(Levl;)Vintermediary method_4878Lnet/minecraft/class_1144;method_4878(Lnet/minecraft/class_1145;)Vnamed registerListenerLnet/minecraft/client/sound/SoundManager;registerListener(Lnet/minecraft/client/sound/SoundInstanceListener;)V
-
unregisterListener
- Mappings:
Namespace Name Mixin selector official bLevm;b(Levl;)Vintermediary method_4866Lnet/minecraft/class_1144;method_4866(Lnet/minecraft/class_1145;)Vnamed unregisterListenerLnet/minecraft/client/sound/SoundManager;unregisterListener(Lnet/minecraft/client/sound/SoundInstanceListener;)V
-
stopSounds
- Mappings:
Namespace Name Mixin selector official aLevm;a(Lwb;Laeh;)Vintermediary method_4875Lnet/minecraft/class_1144;method_4875(Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;)Vnamed stopSoundsLnet/minecraft/client/sound/SoundManager;stopSounds(Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;)V
-
getDebugString
- Mappings:
Namespace Name Mixin selector official gLevm;g()Ljava/lang/String;intermediary method_20305Lnet/minecraft/class_1144;method_20305()Ljava/lang/String;named getDebugStringLnet/minecraft/client/sound/SoundManager;getDebugString()Ljava/lang/String;
-