Package net.minecraft.client.sound
Class SoundManager
java.lang.Object
net.minecraft.client.sound.SoundManager
- All Implemented Interfaces:
ResourceReloadListener,Tickable
@Environment(CLIENT)
public class SoundManager
extends Object
implements ResourceReloadListener, Tickable
- Mappings:
Namespace Name official ccsintermediary net/minecraft/class_1909named net/minecraft/client/sound/SoundManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final class_2906private static final Gsonprivate final SoundRegistryprivate static final Loggerprivate final ResourceManagerprivate final SoundSystemprivate static final ParameterizedType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanisPlaying(SoundInstance instance) private booleanmethod_12542(class_2906 class_2906, Identifier identifier) voidmethod_12543(class_2907 class_2907) voidmethod_12544(String string, SoundCategory soundCategory) method_12545(Identifier identifier) voidmethod_12546(class_2907 class_2907) voidmethod_7125(PlayerEntity playerEntity, float float2) voidpauseAll()voidplay(SoundInstance sound) voidplay(SoundInstance sound, int delay) protected Map<String,SoundEntry> readSounds(InputStream inputStream) private voidregister(Identifier id, SoundEntry entry) voidreload(ResourceManager resourceManager) voidvoidstop(SoundInstance instance) voidstopAll()voidtick()voidupdateSoundVolume(SoundCategory category, float volume)
-
Field Details
-
field_13702
- Mappings:
Namespace Name Mixin selector official aLccs;a:Lcbz;intermediary field_13702Lnet/minecraft/class_1909;field_13702:Lnet/minecraft/class_2906;named field_13702Lnet/minecraft/client/sound/SoundManager;field_13702:Lnet/minecraft/client/class_2906;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLccs;b:Lorg/apache/logging/log4j/Logger;intermediary field_8213Lnet/minecraft/class_1909;field_8213:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/sound/SoundManager;LOGGER:Lorg/apache/logging/log4j/Logger;
-
GSON
- Mappings:
Namespace Name Mixin selector official cLccs;c:Lcom/google/gson/Gson;intermediary field_8214Lnet/minecraft/class_1909;field_8214:Lcom/google/gson/Gson;named GSONLnet/minecraft/client/sound/SoundManager;GSON:Lcom/google/gson/Gson;
-
TYPE
- Mappings:
Namespace Name Mixin selector official dLccs;d:Ljava/lang/reflect/ParameterizedType;intermediary field_8215Lnet/minecraft/class_1909;field_8215:Ljava/lang/reflect/ParameterizedType;named TYPELnet/minecraft/client/sound/SoundManager;TYPE:Ljava/lang/reflect/ParameterizedType;
-
loadedSounds
- Mappings:
Namespace Name Mixin selector official eLccs;e:Lcct;intermediary field_8216Lnet/minecraft/class_1909;field_8216:Lnet/minecraft/class_1913;named loadedSoundsLnet/minecraft/client/sound/SoundManager;loadedSounds:Lnet/minecraft/client/sound/SoundRegistry;
-
soundSystem
- Mappings:
Namespace Name Mixin selector official fLccs;f:Lccq;intermediary field_8217Lnet/minecraft/class_1909;field_8217:Lnet/minecraft/class_622;named soundSystemLnet/minecraft/client/sound/SoundManager;soundSystem:Lnet/minecraft/client/sound/SoundSystem;
-
resourceManager
- Mappings:
Namespace Name Mixin selector official gLccs;g:Lbzy;intermediary field_8218Lnet/minecraft/class_1909;field_8218:Lnet/minecraft/class_1654;named resourceManagerLnet/minecraft/client/sound/SoundManager;resourceManager:Lnet/minecraft/resource/ResourceManager;
-
-
Constructor Details
-
SoundManager
- Mappings:
Namespace Name Mixin selector official <init>Lccs;<init>(Lbzy;Lbeu;)Vintermediary <init>Lnet/minecraft/class_1909;<init>(Lnet/minecraft/class_1654;Lnet/minecraft/class_347;)Vnamed <init>Lnet/minecraft/client/sound/SoundManager;<init>(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/client/options/GameOptions;)V
-
-
Method Details
-
reload
- Specified by:
reloadin interfaceResourceReloadListener- Mappings:
Namespace Name Mixin selector official aLbzz;a(Lbzy;)Vintermediary method_5895Lnet/minecraft/class_286;method_5895(Lnet/minecraft/class_1654;)Vnamed reloadLnet/minecraft/resource/ResourceReloadListener;reload(Lnet/minecraft/resource/ResourceManager;)V
-
readSounds
- Mappings:
Namespace Name Mixin selector official aLccs;a(Ljava/io/InputStream;)Ljava/util/Map;intermediary method_10434Lnet/minecraft/class_1909;method_10434(Ljava/io/InputStream;)Ljava/util/Map;named readSoundsLnet/minecraft/client/sound/SoundManager;readSounds(Ljava/io/InputStream;)Ljava/util/Map;
-
register
- Mappings:
Namespace Name Mixin selector official aLccs;a(Lkq;Lcca;)Vintermediary method_7120Lnet/minecraft/class_1909;method_7120(Lnet/minecraft/class_1653;Lnet/minecraft/class_1896;)Vnamed registerLnet/minecraft/client/sound/SoundManager;register(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/sound/SoundEntry;)V
-
method_12542
- Mappings:
Namespace Name Mixin selector official aLccs;a(Lcbz;Lkq;)Zintermediary method_12542Lnet/minecraft/class_1909;method_12542(Lnet/minecraft/class_2906;Lnet/minecraft/class_1653;)Znamed method_12542Lnet/minecraft/client/sound/SoundManager;method_12542(Lnet/minecraft/client/class_2906;Lnet/minecraft/util/Identifier;)Z
-
method_12545
- Mappings:
Namespace Name Mixin selector official aLccs;a(Lkq;)Lccu;intermediary method_12545Lnet/minecraft/class_1909;method_12545(Lnet/minecraft/class_1653;)Lnet/minecraft/class_1915;named method_12545Lnet/minecraft/client/sound/SoundManager;method_12545(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/sound/SoundContainerImpl;
-
play
- Mappings:
Namespace Name Mixin selector official aLccs;a(Lccc;)Vintermediary method_7121Lnet/minecraft/class_1909;method_7121(Lnet/minecraft/class_1900;)Vnamed playLnet/minecraft/client/sound/SoundManager;play(Lnet/minecraft/client/sound/SoundInstance;)V
-
play
- Mappings:
Namespace Name Mixin selector official aLccs;a(Lccc;I)Vintermediary method_7122Lnet/minecraft/class_1909;method_7122(Lnet/minecraft/class_1900;I)Vnamed playLnet/minecraft/client/sound/SoundManager;play(Lnet/minecraft/client/sound/SoundInstance;I)V
-
method_7125
- Mappings:
Namespace Name Mixin selector official aLccs;a(Laay;F)Vintermediary method_7125Lnet/minecraft/class_1909;method_7125(Lnet/minecraft/class_988;F)Vnamed method_7125Lnet/minecraft/client/sound/SoundManager;method_7125(Lnet/minecraft/entity/player/PlayerEntity;F)V
-
pauseAll
public void pauseAll()- Mappings:
Namespace Name Mixin selector official aLccs;a()Vintermediary method_7127Lnet/minecraft/class_1909;method_7127()Vnamed pauseAllLnet/minecraft/client/sound/SoundManager;pauseAll()V
-
stopAll
public void stopAll()- Mappings:
Namespace Name Mixin selector official bLccs;b()Vintermediary method_7129Lnet/minecraft/class_1909;method_7129()Vnamed stopAllLnet/minecraft/client/sound/SoundManager;stopAll()V
-
close
public void close()- Mappings:
Namespace Name Mixin selector official cLccs;c()Vintermediary method_7131Lnet/minecraft/class_1909;method_7131()Vnamed closeLnet/minecraft/client/sound/SoundManager;close()V
-
tick
public void tick() -
resumeAll
public void resumeAll()- Mappings:
Namespace Name Mixin selector official dLccs;d()Vintermediary method_7132Lnet/minecraft/class_1909;method_7132()Vnamed resumeAllLnet/minecraft/client/sound/SoundManager;resumeAll()V
-
updateSoundVolume
- Mappings:
Namespace Name Mixin selector official aLccs;a(Lno;F)Vintermediary method_7124Lnet/minecraft/class_1909;method_7124(Lnet/minecraft/class_2153;F)Vnamed updateSoundVolumeLnet/minecraft/client/sound/SoundManager;updateSoundVolume(Lnet/minecraft/client/sound/SoundCategory;F)V
-
stop
- Mappings:
Namespace Name Mixin selector official bLccs;b(Lccc;)Vintermediary method_7128Lnet/minecraft/class_1909;method_7128(Lnet/minecraft/class_1900;)Vnamed stopLnet/minecraft/client/sound/SoundManager;stop(Lnet/minecraft/client/sound/SoundInstance;)V
-
isPlaying
- Mappings:
Namespace Name Mixin selector official cLccs;c(Lccc;)Zintermediary method_7130Lnet/minecraft/class_1909;method_7130(Lnet/minecraft/class_1900;)Znamed isPlayingLnet/minecraft/client/sound/SoundManager;isPlaying(Lnet/minecraft/client/sound/SoundInstance;)Z
-
method_12543
- Mappings:
Namespace Name Mixin selector official aLccs;a(Lccr;)Vintermediary method_12543Lnet/minecraft/class_1909;method_12543(Lnet/minecraft/class_2907;)Vnamed method_12543Lnet/minecraft/client/sound/SoundManager;method_12543(Lnet/minecraft/client/class_2907;)V
-
method_12546
- Mappings:
Namespace Name Mixin selector official bLccs;b(Lccr;)Vintermediary method_12546Lnet/minecraft/class_1909;method_12546(Lnet/minecraft/class_2907;)Vnamed method_12546Lnet/minecraft/client/sound/SoundManager;method_12546(Lnet/minecraft/client/class_2907;)V
-
method_12544
- Mappings:
Namespace Name Mixin selector official aLccs;a(Ljava/lang/String;Lno;)Vintermediary method_12544Lnet/minecraft/class_1909;method_12544(Ljava/lang/String;Lnet/minecraft/class_2153;)Vnamed method_12544Lnet/minecraft/client/sound/SoundManager;method_12544(Ljava/lang/String;Lnet/minecraft/client/sound/SoundCategory;)V
-