Package net.minecraft.client.sound
Class SoundSystem
java.lang.Object
net.minecraft.client.sound.SoundSystem
@Environment(CLIENT) public class SoundSystem extends Object
- Mappings:
Namespace Name official bpxintermediary net/minecraft/class_1325named net/minecraft/client/sound/SoundSystem
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classSoundSystem.class_1326 -
Field Summary
Fields Modifier and Type Field Description private SoundSystem.class_1326field_5494private Map<String,SoundInstance>field_5497private Map<SoundInstance,String>field_5498private Multimap<SoundCategory,String>field_5500private List<TickableSoundInstance>field_5501private Map<String,Integer>field_5503private static LoggerLOGGERprivate SoundManagermanagerprivate static MarkerMARKERprivate GameOptionsoptionsprivate Map<SoundInstance,Sound>sourcesprivate booleanstartedprivate Map<SoundInstance,Integer>startTicksprivate intticks -
Constructor Summary
Constructors Constructor Description SoundSystem(SoundManager manager, GameOptions options) -
Method Summary
Modifier and Type Method Description private floatgetSoundVolume(SoundCategory soundCategory)booleanisPlaying(SoundInstance soundInstance)private floatmethod_4581(SoundInstance soundInstance, Sound sound)private floatmethod_4582(SoundInstance soundInstance, Sound sound, SoundCategory soundCategory)private static URLmethod_4586(Identifier identifier)voidmethod_4587(PlayerEntity player, float float2)voidpauseAll()voidplay(SoundInstance soundInstance)voidplay(SoundInstance sound, int delay)voidreloadSounds()voidresumeAll()private voidstart()voidstop()voidstop(SoundInstance soundInstance)voidstopAll()voidtick()voidupdateSoundVolume(SoundCategory soundCategory, float volume)
-
Field Details
-
MARKER
- Mappings:
Namespace Name Mixin selector official aLbpx;a:Lorg/apache/logging/log4j/Marker;intermediary field_5490Lnet/minecraft/class_1325;field_5490:Lorg/apache/logging/log4j/Marker;named MARKERLnet/minecraft/client/sound/SoundSystem;MARKER:Lorg/apache/logging/log4j/Marker;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLbpx;b:Lorg/apache/logging/log4j/Logger;intermediary field_5491Lnet/minecraft/class_1325;field_5491:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/sound/SoundSystem;LOGGER:Lorg/apache/logging/log4j/Logger;
-
manager
- Mappings:
Namespace Name Mixin selector official cLbpx;c:Lbpz;intermediary field_5492Lnet/minecraft/class_1325;field_5492:Lnet/minecraft/class_1328;named managerLnet/minecraft/client/sound/SoundSystem;manager:Lnet/minecraft/client/sound/SoundManager;
-
options
- Mappings:
Namespace Name Mixin selector official dLbpx;d:Lavh;intermediary field_5493Lnet/minecraft/class_1325;field_5493:Lnet/minecraft/class_671;named optionsLnet/minecraft/client/sound/SoundSystem;options:Lnet/minecraft/client/options/GameOptions;
-
field_5494
- Mappings:
Namespace Name Mixin selector official eLbpx;e:Lbpx$a;intermediary field_5494Lnet/minecraft/class_1325;field_5494:Lnet/minecraft/class_1325$class_1326;named field_5494Lnet/minecraft/client/sound/SoundSystem;field_5494:Lnet/minecraft/client/sound/SoundSystem$class_1326;
-
started
private boolean started- Mappings:
Namespace Name Mixin selector official fLbpx;f:Zintermediary field_5495Lnet/minecraft/class_1325;field_5495:Znamed startedLnet/minecraft/client/sound/SoundSystem;started:Z
-
ticks
private int ticks- Mappings:
Namespace Name Mixin selector official gLbpx;g:Iintermediary field_5496Lnet/minecraft/class_1325;field_5496:Inamed ticksLnet/minecraft/client/sound/SoundSystem;ticks:I
-
field_5497
- Mappings:
Namespace Name Mixin selector official hLbpx;h:Ljava/util/Map;intermediary field_5497Lnet/minecraft/class_1325;field_5497:Ljava/util/Map;named field_5497Lnet/minecraft/client/sound/SoundSystem;field_5497:Ljava/util/Map;
-
field_5498
- Mappings:
Namespace Name Mixin selector official iLbpx;i:Ljava/util/Map;intermediary field_5498Lnet/minecraft/class_1325;field_5498:Ljava/util/Map;named field_5498Lnet/minecraft/client/sound/SoundSystem;field_5498:Ljava/util/Map;
-
sources
- Mappings:
Namespace Name Mixin selector official jLbpx;j:Ljava/util/Map;intermediary field_5499Lnet/minecraft/class_1325;field_5499:Ljava/util/Map;named sourcesLnet/minecraft/client/sound/SoundSystem;sources:Ljava/util/Map;
-
field_5500
- Mappings:
Namespace Name Mixin selector official kLbpx;k:Lcom/google/common/collect/Multimap;intermediary field_5500Lnet/minecraft/class_1325;field_5500:Lcom/google/common/collect/Multimap;named field_5500Lnet/minecraft/client/sound/SoundSystem;field_5500:Lcom/google/common/collect/Multimap;
-
field_5501
- Mappings:
Namespace Name Mixin selector official lLbpx;l:Ljava/util/List;intermediary field_5501Lnet/minecraft/class_1325;field_5501:Ljava/util/List;named field_5501Lnet/minecraft/client/sound/SoundSystem;field_5501:Ljava/util/List;
-
startTicks
- Mappings:
Namespace Name Mixin selector official mLbpx;m:Ljava/util/Map;intermediary field_5502Lnet/minecraft/class_1325;field_5502:Ljava/util/Map;named startTicksLnet/minecraft/client/sound/SoundSystem;startTicks:Ljava/util/Map;
-
field_5503
- Mappings:
Namespace Name Mixin selector official nLbpx;n:Ljava/util/Map;intermediary field_5503Lnet/minecraft/class_1325;field_5503:Ljava/util/Map;named field_5503Lnet/minecraft/client/sound/SoundSystem;field_5503:Ljava/util/Map;
-
-
Constructor Details
-
SoundSystem
- Mappings:
Namespace Name Mixin selector official <init>Lbpx;<init>(Lbpz;Lavh;)Vintermediary <init>Lnet/minecraft/class_1325;<init>(Lnet/minecraft/class_1328;Lnet/minecraft/class_671;)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 aLbpx;a()Vintermediary method_4576Lnet/minecraft/class_1325;method_4576()Vnamed reloadSoundsLnet/minecraft/client/sound/SoundSystem;reloadSounds()V
-
start
private void start()- Mappings:
Namespace Name Mixin selector official iLbpx;i()Vintermediary method_4598Lnet/minecraft/class_1325;method_4598()Vnamed startLnet/minecraft/client/sound/SoundSystem;start()V
-
getSoundVolume
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbpg;)Fintermediary method_4577Lnet/minecraft/class_1325;method_4577(Lnet/minecraft/class_1306;)Fnamed getSoundVolumeLnet/minecraft/client/sound/SoundSystem;getSoundVolume(Lnet/minecraft/client/sound/SoundCategory;)F
-
updateSoundVolume
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbpg;F)Vintermediary method_4578Lnet/minecraft/class_1325;method_4578(Lnet/minecraft/class_1306;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 bLbpx;b()Vintermediary method_4588Lnet/minecraft/class_1325;method_4588()Vnamed stopLnet/minecraft/client/sound/SoundSystem;stop()V
-
stopAll
public void stopAll()- Mappings:
Namespace Name Mixin selector official cLbpx;c()Vintermediary method_4591Lnet/minecraft/class_1325;method_4591()Vnamed stopAllLnet/minecraft/client/sound/SoundSystem;stopAll()V
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official dLbpx;d()Vintermediary method_4593Lnet/minecraft/class_1325;method_4593()Vnamed tickLnet/minecraft/client/sound/SoundSystem;tick()V
-
isPlaying
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbpj;)Zintermediary method_4579Lnet/minecraft/class_1325;method_4579(Lnet/minecraft/class_1311;)Znamed isPlayingLnet/minecraft/client/sound/SoundSystem;isPlaying(Lnet/minecraft/client/sound/SoundInstance;)Z
-
stop
- Mappings:
Namespace Name Mixin selector official bLbpx;b(Lbpj;)Vintermediary method_4589Lnet/minecraft/class_1325;method_4589(Lnet/minecraft/class_1311;)Vnamed stopLnet/minecraft/client/sound/SoundSystem;stop(Lnet/minecraft/client/sound/SoundInstance;)V
-
play
- Mappings:
Namespace Name Mixin selector official cLbpx;c(Lbpj;)Vintermediary method_4592Lnet/minecraft/class_1325;method_4592(Lnet/minecraft/class_1311;)Vnamed playLnet/minecraft/client/sound/SoundSystem;play(Lnet/minecraft/client/sound/SoundInstance;)V
-
method_4581
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbpj;Lbpw;)Fintermediary method_4581Lnet/minecraft/class_1325;method_4581(Lnet/minecraft/class_1311;Lnet/minecraft/class_1324;)Fnamed method_4581Lnet/minecraft/client/sound/SoundSystem;method_4581(Lnet/minecraft/client/sound/SoundInstance;Lnet/minecraft/client/sound/Sound;)F
-
method_4582
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbpj;Lbpw;Lbpg;)Fintermediary method_4582Lnet/minecraft/class_1325;method_4582(Lnet/minecraft/class_1311;Lnet/minecraft/class_1324;Lnet/minecraft/class_1306;)Fnamed method_4582Lnet/minecraft/client/sound/SoundSystem;method_4582(Lnet/minecraft/client/sound/SoundInstance;Lnet/minecraft/client/sound/Sound;Lnet/minecraft/client/sound/SoundCategory;)F
-
pauseAll
public void pauseAll()- Mappings:
Namespace Name Mixin selector official eLbpx;e()Vintermediary method_4594Lnet/minecraft/class_1325;method_4594()Vnamed pauseAllLnet/minecraft/client/sound/SoundSystem;pauseAll()V
-
resumeAll
public void resumeAll()- Mappings:
Namespace Name Mixin selector official fLbpx;f()Vintermediary method_4595Lnet/minecraft/class_1325;method_4595()Vnamed resumeAllLnet/minecraft/client/sound/SoundSystem;resumeAll()V
-
play
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lbpj;I)Vintermediary method_4580Lnet/minecraft/class_1325;method_4580(Lnet/minecraft/class_1311;I)Vnamed playLnet/minecraft/client/sound/SoundSystem;play(Lnet/minecraft/client/sound/SoundInstance;I)V
-
method_4586
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Ljy;)Ljava/net/URL;intermediary method_4586Lnet/minecraft/class_1325;method_4586(Lnet/minecraft/class_1605;)Ljava/net/URL;named method_4586Lnet/minecraft/client/sound/SoundSystem;method_4586(Lnet/minecraft/util/Identifier;)Ljava/net/URL;
-
method_4587
- Mappings:
Namespace Name Mixin selector official aLbpx;a(Lwn;F)Vintermediary method_4587Lnet/minecraft/class_1325;method_4587(Lnet/minecraft/class_1963;F)Vnamed method_4587Lnet/minecraft/client/sound/SoundSystem;method_4587(Lnet/minecraft/entity/player/PlayerEntity;F)V
-