Package net.minecraft.client.sound
Class SoundSystem
java.lang.Object
net.minecraft.client.sound.SoundSystem
- Mappings:
Namespace Name official chmintermediary net/minecraft/class_622named net/minecraft/client/sound/SoundSystem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) classImplements a thread safe implementation of playing(String) -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Set<Identifier>private final List<class_2907>private final Map<String,SoundInstance> private final Map<SoundInstance,String> private final Multimap<SoundCategory,String> private final List<TickableSoundInstance>private static final Loggerprivate final SoundManagerprivate static final Markerprivate final GameOptionsprivate booleanprivate final Map<SoundInstance,Integer> private int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate floatgetSoundVolume(SoundCategory soundCategory) booleanisPlaying(SoundInstance soundInstance) voidmethod_12536(class_2907 class_2907) voidmethod_12537(String string, SoundCategory soundCategory) voidmethod_12538(class_2907 class_2907) private floatmethod_12539(SoundInstance soundInstance) private floatmethod_12540(SoundInstance soundInstance) private static URLmethod_7096(Identifier identifier) voidmethod_7105(PlayerEntity player, float float2) voidpauseAll()voidplay(SoundInstance soundInstance) voidplay(SoundInstance sound, int delay) voidvoidprivate voidstart()voidstop()voidstop(SoundInstance soundInstance) voidstopAll()voidtick()voidupdateSoundVolume(SoundCategory soundCategory, float volume)
-
Field Details
-
MARKER
- Mappings:
Namespace Name Mixin selector official aLchm;a:Lorg/apache/logging/log4j/Marker;intermediary field_8190Lnet/minecraft/class_622;field_8190:Lorg/apache/logging/log4j/Marker;named MARKERLnet/minecraft/client/sound/SoundSystem;MARKER:Lorg/apache/logging/log4j/Marker;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLchm;b:Lorg/apache/logging/log4j/Logger;intermediary field_8191Lnet/minecraft/class_622;field_8191:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/sound/SoundSystem;LOGGER:Lorg/apache/logging/log4j/Logger;
-
field_13699
- Mappings:
Namespace Name Mixin selector official cLchm;c:Ljava/util/Set;intermediary field_13699Lnet/minecraft/class_622;field_13699:Ljava/util/Set;named field_13699Lnet/minecraft/client/sound/SoundSystem;field_13699:Ljava/util/Set;
-
manager
- Mappings:
Namespace Name Mixin selector official dLchm;d:Lcho;intermediary field_8192Lnet/minecraft/class_622;field_8192:Lnet/minecraft/class_1909;named managerLnet/minecraft/client/sound/SoundSystem;manager:Lnet/minecraft/client/sound/SoundManager;
-
options
- Mappings:
Namespace Name Mixin selector official eLchm;e:Lbid;intermediary field_2264Lnet/minecraft/class_622;field_2264:Lnet/minecraft/class_347;named optionsLnet/minecraft/client/sound/SoundSystem;options:Lnet/minecraft/client/options/GameOptions;
-
field_8193
- Mappings:
Namespace Name Mixin selector official fLchm;f:Lchm$a;intermediary field_8193Lnet/minecraft/class_622;field_8193:Lnet/minecraft/class_622$class_1907;named field_8193Lnet/minecraft/client/sound/SoundSystem;field_8193:Lnet/minecraft/client/sound/SoundSystem$ThreadSafeSoundSystem;
-
started
private boolean started- Mappings:
Namespace Name Mixin selector official gLchm;g:Zintermediary field_2265Lnet/minecraft/class_622;field_2265:Znamed startedLnet/minecraft/client/sound/SoundSystem;started:Z
-
ticks
private int ticks- Mappings:
Namespace Name Mixin selector official hLchm;h:Iintermediary field_8194Lnet/minecraft/class_622;field_8194:Inamed ticksLnet/minecraft/client/sound/SoundSystem;ticks:I
-
field_8195
- Mappings:
Namespace Name Mixin selector official iLchm;i:Ljava/util/Map;intermediary field_8195Lnet/minecraft/class_622;field_8195:Ljava/util/Map;named field_8195Lnet/minecraft/client/sound/SoundSystem;field_8195:Ljava/util/Map;
-
field_8196
- Mappings:
Namespace Name Mixin selector official jLchm;j:Ljava/util/Map;intermediary field_8196Lnet/minecraft/class_622;field_8196:Ljava/util/Map;named field_8196Lnet/minecraft/client/sound/SoundSystem;field_8196:Ljava/util/Map;
-
field_8198
- Mappings:
Namespace Name Mixin selector official kLchm;k:Lcom/google/common/collect/Multimap;intermediary field_8198Lnet/minecraft/class_622;field_8198:Lcom/google/common/collect/Multimap;named field_8198Lnet/minecraft/client/sound/SoundSystem;field_8198:Lcom/google/common/collect/Multimap;
-
field_8199
- Mappings:
Namespace Name Mixin selector official lLchm;l:Ljava/util/List;intermediary field_8199Lnet/minecraft/class_622;field_8199:Ljava/util/List;named field_8199Lnet/minecraft/client/sound/SoundSystem;field_8199:Ljava/util/List;
-
startTicks
- Mappings:
Namespace Name Mixin selector official mLchm;m:Ljava/util/Map;intermediary field_8200Lnet/minecraft/class_622;field_8200:Ljava/util/Map;named startTicksLnet/minecraft/client/sound/SoundSystem;startTicks:Ljava/util/Map;
-
field_8201
- Mappings:
Namespace Name Mixin selector official nLchm;n:Ljava/util/Map;intermediary field_8201Lnet/minecraft/class_622;field_8201:Ljava/util/Map;named field_8201Lnet/minecraft/client/sound/SoundSystem;field_8201:Ljava/util/Map;
-
field_13700
- Mappings:
Namespace Name Mixin selector official oLchm;o:Ljava/util/List;intermediary field_13700Lnet/minecraft/class_622;field_13700:Ljava/util/List;named field_13700Lnet/minecraft/client/sound/SoundSystem;field_13700:Ljava/util/List;
-
field_13701
- Mappings:
Namespace Name Mixin selector official pLchm;p:Ljava/util/List;intermediary field_13701Lnet/minecraft/class_622;field_13701:Ljava/util/List;named field_13701Lnet/minecraft/client/sound/SoundSystem;field_13701:Ljava/util/List;
-
-
Constructor Details
-
SoundSystem
- Mappings:
Namespace Name Mixin selector official <init>Lchm;<init>(Lcho;Lbid;)Vintermediary <init>Lnet/minecraft/class_622;<init>(Lnet/minecraft/class_1909;Lnet/minecraft/class_347;)Vnamed <init>Lnet/minecraft/client/sound/SoundSystem;<init>(Lnet/minecraft/client/sound/SoundManager;Lnet/minecraft/client/options/GameOptions;)V
-
-
Method Details
-
reloadSounds
public void reloadSounds()- Mappings:
Namespace Name Mixin selector official aLchm;a()Vintermediary method_7095Lnet/minecraft/class_622;method_7095()Vnamed reloadSoundsLnet/minecraft/client/sound/SoundSystem;reloadSounds()V
-
start
private void start()- Mappings:
Namespace Name Mixin selector official iLchm;i()Vintermediary method_7114Lnet/minecraft/class_622;method_7114()Vnamed startLnet/minecraft/client/sound/SoundSystem;start()V
-
getSoundVolume
- Mappings:
Namespace Name Mixin selector official aLchm;a(Lqg;)Fintermediary method_7103Lnet/minecraft/class_622;method_7103(Lnet/minecraft/class_2153;)Fnamed getSoundVolumeLnet/minecraft/client/sound/SoundSystem;getSoundVolume(Lnet/minecraft/client/sound/SoundCategory;)F
-
updateSoundVolume
- Mappings:
Namespace Name Mixin selector official aLchm;a(Lqg;F)Vintermediary method_7104Lnet/minecraft/class_622;method_7104(Lnet/minecraft/class_2153;F)Vnamed updateSoundVolumeLnet/minecraft/client/sound/SoundSystem;updateSoundVolume(Lnet/minecraft/client/sound/SoundCategory;F)V
-
stop
public void stop()- Mappings:
Namespace Name Mixin selector official bLchm;b()Vintermediary method_1714Lnet/minecraft/class_622;method_1714()Vnamed stopLnet/minecraft/client/sound/SoundSystem;stop()V
-
stopAll
public void stopAll()- Mappings:
Namespace Name Mixin selector official cLchm;c()Vintermediary method_4374Lnet/minecraft/class_622;method_4374()Vnamed stopAllLnet/minecraft/client/sound/SoundSystem;stopAll()V
-
method_12536
- Mappings:
Namespace Name Mixin selector official aLchm;a(Lchn;)Vintermediary method_12536Lnet/minecraft/class_622;method_12536(Lnet/minecraft/class_2907;)Vnamed method_12536Lnet/minecraft/client/sound/SoundSystem;method_12536(Lnet/minecraft/client/class_2907;)V
-
method_12538
- Mappings:
Namespace Name Mixin selector official bLchm;b(Lchn;)Vintermediary method_12538Lnet/minecraft/class_622;method_12538(Lnet/minecraft/class_2907;)Vnamed method_12538Lnet/minecraft/client/sound/SoundSystem;method_12538(Lnet/minecraft/client/class_2907;)V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official dLchm;d()Vintermediary method_7109Lnet/minecraft/class_622;method_7109()Vnamed tickLnet/minecraft/client/sound/SoundSystem;tick()V
-
isPlaying
- Mappings:
Namespace Name Mixin selector official aLchm;a(Lcgt;)Zintermediary method_7097Lnet/minecraft/class_622;method_7097(Lnet/minecraft/class_1900;)Znamed isPlayingLnet/minecraft/client/sound/SoundSystem;isPlaying(Lnet/minecraft/client/sound/SoundInstance;)Z
-
stop
- Mappings:
Namespace Name Mixin selector official bLchm;b(Lcgt;)Vintermediary method_7106Lnet/minecraft/class_622;method_7106(Lnet/minecraft/class_1900;)Vnamed stopLnet/minecraft/client/sound/SoundSystem;stop(Lnet/minecraft/client/sound/SoundInstance;)V
-
play
- Mappings:
Namespace Name Mixin selector official cLchm;c(Lcgt;)Vintermediary method_7108Lnet/minecraft/class_622;method_7108(Lnet/minecraft/class_1900;)Vnamed playLnet/minecraft/client/sound/SoundSystem;play(Lnet/minecraft/client/sound/SoundInstance;)V
-
method_12539
- Mappings:
Namespace Name Mixin selector official dLchm;d(Lcgt;)Fintermediary method_12539Lnet/minecraft/class_622;method_12539(Lnet/minecraft/class_1900;)Fnamed method_12539Lnet/minecraft/client/sound/SoundSystem;method_12539(Lnet/minecraft/client/sound/SoundInstance;)F
-
method_12540
- Mappings:
Namespace Name Mixin selector official eLchm;e(Lcgt;)Fintermediary method_12540Lnet/minecraft/class_622;method_12540(Lnet/minecraft/class_1900;)Fnamed method_12540Lnet/minecraft/client/sound/SoundSystem;method_12540(Lnet/minecraft/client/sound/SoundInstance;)F
-
pauseAll
public void pauseAll()- Mappings:
Namespace Name Mixin selector official eLchm;e()Vintermediary method_7110Lnet/minecraft/class_622;method_7110()Vnamed pauseAllLnet/minecraft/client/sound/SoundSystem;pauseAll()V
-
resumeAll
public void resumeAll()- Mappings:
Namespace Name Mixin selector official fLchm;f()Vintermediary method_7111Lnet/minecraft/class_622;method_7111()Vnamed resumeAllLnet/minecraft/client/sound/SoundSystem;resumeAll()V
-
play
- Mappings:
Namespace Name Mixin selector official aLchm;a(Lcgt;I)Vintermediary method_7098Lnet/minecraft/class_622;method_7098(Lnet/minecraft/class_1900;I)Vnamed playLnet/minecraft/client/sound/SoundSystem;play(Lnet/minecraft/client/sound/SoundInstance;I)V
-
method_7096
- Mappings:
Namespace Name Mixin selector official aLchm;a(Lnf;)Ljava/net/URL;intermediary method_7096Lnet/minecraft/class_622;method_7096(Lnet/minecraft/class_1653;)Ljava/net/URL;named method_7096Lnet/minecraft/client/sound/SoundSystem;method_7096(Lnet/minecraft/util/Identifier;)Ljava/net/URL;
-
method_7105
- Mappings:
Namespace Name Mixin selector official aLchm;a(Laed;F)Vintermediary method_7105Lnet/minecraft/class_622;method_7105(Lnet/minecraft/class_988;F)Vnamed method_7105Lnet/minecraft/client/sound/SoundSystem;method_7105(Lnet/minecraft/entity/player/PlayerEntity;F)V
-
method_12537
- Mappings:
Namespace Name Mixin selector official aLchm;a(Ljava/lang/String;Lqg;)Vintermediary method_12537Lnet/minecraft/class_622;method_12537(Ljava/lang/String;Lnet/minecraft/class_2153;)Vnamed method_12537Lnet/minecraft/client/sound/SoundSystem;method_12537(Ljava/lang/String;Lnet/minecraft/client/sound/SoundCategory;)V
-