Class SoundSystem

java.lang.Object
net.minecraft.client.sound.SoundSystem

@Environment(CLIENT)
public class SoundSystem
extends Object
Mappings:
Namespace Name
official bpx
intermediary net/minecraft/class_1325
named net/minecraft/client/sound/SoundSystem
  • Field Details

    • MARKER

      private static final Marker MARKER
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a:Lorg/apache/logging/log4j/Marker;
      intermediary field_5490 Lnet/minecraft/class_1325;field_5490:Lorg/apache/logging/log4j/Marker;
      named MARKER Lnet/minecraft/client/sound/SoundSystem;MARKER:Lorg/apache/logging/log4j/Marker;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_5491 Lnet/minecraft/class_1325;field_5491:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/sound/SoundSystem;LOGGER:Lorg/apache/logging/log4j/Logger;
    • manager

      private final SoundManager manager
      Mappings:
      Namespace Name Mixin selector
      official c Lbpx;c:Lbpz;
      intermediary field_5492 Lnet/minecraft/class_1325;field_5492:Lnet/minecraft/class_1328;
      named manager Lnet/minecraft/client/sound/SoundSystem;manager:Lnet/minecraft/client/sound/SoundManager;
    • options

      private final GameOptions options
      Mappings:
      Namespace Name Mixin selector
      official d Lbpx;d:Lavh;
      intermediary field_5493 Lnet/minecraft/class_1325;field_5493:Lnet/minecraft/class_671;
      named options Lnet/minecraft/client/sound/SoundSystem;options:Lnet/minecraft/client/options/GameOptions;
    • field_5494

      private SoundSystem.class_1326 field_5494
      Mappings:
      Namespace Name Mixin selector
      official e Lbpx;e:Lbpx$a;
      intermediary field_5494 Lnet/minecraft/class_1325;field_5494:Lnet/minecraft/class_1325$class_1326;
      named field_5494 Lnet/minecraft/client/sound/SoundSystem;field_5494:Lnet/minecraft/client/sound/SoundSystem$class_1326;
    • started

      private boolean started
      Mappings:
      Namespace Name Mixin selector
      official f Lbpx;f:Z
      intermediary field_5495 Lnet/minecraft/class_1325;field_5495:Z
      named started Lnet/minecraft/client/sound/SoundSystem;started:Z
    • ticks

      private int ticks
      Mappings:
      Namespace Name Mixin selector
      official g Lbpx;g:I
      intermediary field_5496 Lnet/minecraft/class_1325;field_5496:I
      named ticks Lnet/minecraft/client/sound/SoundSystem;ticks:I
    • field_5497

      private final Map<String,​SoundInstance> field_5497
      Mappings:
      Namespace Name Mixin selector
      official h Lbpx;h:Ljava/util/Map;
      intermediary field_5497 Lnet/minecraft/class_1325;field_5497:Ljava/util/Map;
      named field_5497 Lnet/minecraft/client/sound/SoundSystem;field_5497:Ljava/util/Map;
    • field_5498

      private final Map<SoundInstance,​String> field_5498
      Mappings:
      Namespace Name Mixin selector
      official i Lbpx;i:Ljava/util/Map;
      intermediary field_5498 Lnet/minecraft/class_1325;field_5498:Ljava/util/Map;
      named field_5498 Lnet/minecraft/client/sound/SoundSystem;field_5498:Ljava/util/Map;
    • sources

      private Map<SoundInstance,​Sound> sources
      Mappings:
      Namespace Name Mixin selector
      official j Lbpx;j:Ljava/util/Map;
      intermediary field_5499 Lnet/minecraft/class_1325;field_5499:Ljava/util/Map;
      named sources Lnet/minecraft/client/sound/SoundSystem;sources:Ljava/util/Map;
    • field_5500

      private final Multimap<SoundCategory,​String> field_5500
      Mappings:
      Namespace Name Mixin selector
      official k Lbpx;k:Lcom/google/common/collect/Multimap;
      intermediary field_5500 Lnet/minecraft/class_1325;field_5500:Lcom/google/common/collect/Multimap;
      named field_5500 Lnet/minecraft/client/sound/SoundSystem;field_5500:Lcom/google/common/collect/Multimap;
    • field_5501

      private final List<TickableSoundInstance> field_5501
      Mappings:
      Namespace Name Mixin selector
      official l Lbpx;l:Ljava/util/List;
      intermediary field_5501 Lnet/minecraft/class_1325;field_5501:Ljava/util/List;
      named field_5501 Lnet/minecraft/client/sound/SoundSystem;field_5501:Ljava/util/List;
    • startTicks

      private final Map<SoundInstance,​Integer> startTicks
      Mappings:
      Namespace Name Mixin selector
      official m Lbpx;m:Ljava/util/Map;
      intermediary field_5502 Lnet/minecraft/class_1325;field_5502:Ljava/util/Map;
      named startTicks Lnet/minecraft/client/sound/SoundSystem;startTicks:Ljava/util/Map;
    • field_5503

      private final Map<String,​Integer> field_5503
      Mappings:
      Namespace Name Mixin selector
      official n Lbpx;n:Ljava/util/Map;
      intermediary field_5503 Lnet/minecraft/class_1325;field_5503:Ljava/util/Map;
      named field_5503 Lnet/minecraft/client/sound/SoundSystem;field_5503:Ljava/util/Map;
  • Constructor Details

    • SoundSystem

      public SoundSystem​(SoundManager manager, GameOptions options)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbpx;<init>(Lbpz;Lavh;)V
      intermediary <init> Lnet/minecraft/class_1325;<init>(Lnet/minecraft/class_1328;Lnet/minecraft/class_671;)V
      named <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 a Lbpx;a()V
      intermediary method_4576 Lnet/minecraft/class_1325;method_4576()V
      named reloadSounds Lnet/minecraft/client/sound/SoundSystem;reloadSounds()V
    • start

      private void start()
      Mappings:
      Namespace Name Mixin selector
      official i Lbpx;i()V
      intermediary method_4598 Lnet/minecraft/class_1325;method_4598()V
      named start Lnet/minecraft/client/sound/SoundSystem;start()V
    • getSoundVolume

      private float getSoundVolume​(SoundCategory soundCategory)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbpg;)F
      intermediary method_4577 Lnet/minecraft/class_1325;method_4577(Lnet/minecraft/class_1306;)F
      named getSoundVolume Lnet/minecraft/client/sound/SoundSystem;getSoundVolume(Lnet/minecraft/client/sound/SoundCategory;)F
    • updateSoundVolume

      public void updateSoundVolume​(SoundCategory soundCategory, float volume)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbpg;F)V
      intermediary method_4578 Lnet/minecraft/class_1325;method_4578(Lnet/minecraft/class_1306;F)V
      named updateSoundVolume Lnet/minecraft/client/sound/SoundSystem;updateSoundVolume(Lnet/minecraft/client/sound/SoundCategory;F)V
    • stop

      public void stop()
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b()V
      intermediary method_4588 Lnet/minecraft/class_1325;method_4588()V
      named stop Lnet/minecraft/client/sound/SoundSystem;stop()V
    • stopAll

      public void stopAll()
      Mappings:
      Namespace Name Mixin selector
      official c Lbpx;c()V
      intermediary method_4591 Lnet/minecraft/class_1325;method_4591()V
      named stopAll Lnet/minecraft/client/sound/SoundSystem;stopAll()V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      official d Lbpx;d()V
      intermediary method_4593 Lnet/minecraft/class_1325;method_4593()V
      named tick Lnet/minecraft/client/sound/SoundSystem;tick()V
    • isPlaying

      public boolean isPlaying​(SoundInstance soundInstance)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbpj;)Z
      intermediary method_4579 Lnet/minecraft/class_1325;method_4579(Lnet/minecraft/class_1311;)Z
      named isPlaying Lnet/minecraft/client/sound/SoundSystem;isPlaying(Lnet/minecraft/client/sound/SoundInstance;)Z
    • stop

      public void stop​(SoundInstance soundInstance)
      Mappings:
      Namespace Name Mixin selector
      official b Lbpx;b(Lbpj;)V
      intermediary method_4589 Lnet/minecraft/class_1325;method_4589(Lnet/minecraft/class_1311;)V
      named stop Lnet/minecraft/client/sound/SoundSystem;stop(Lnet/minecraft/client/sound/SoundInstance;)V
    • play

      public void play​(SoundInstance soundInstance)
      Mappings:
      Namespace Name Mixin selector
      official c Lbpx;c(Lbpj;)V
      intermediary method_4592 Lnet/minecraft/class_1325;method_4592(Lnet/minecraft/class_1311;)V
      named play Lnet/minecraft/client/sound/SoundSystem;play(Lnet/minecraft/client/sound/SoundInstance;)V
    • method_4581

      private float method_4581​(SoundInstance soundInstance, Sound sound)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbpj;Lbpw;)F
      intermediary method_4581 Lnet/minecraft/class_1325;method_4581(Lnet/minecraft/class_1311;Lnet/minecraft/class_1324;)F
      named method_4581 Lnet/minecraft/client/sound/SoundSystem;method_4581(Lnet/minecraft/client/sound/SoundInstance;Lnet/minecraft/client/sound/Sound;)F
    • method_4582

      private float method_4582​(SoundInstance soundInstance, Sound sound, SoundCategory soundCategory)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbpj;Lbpw;Lbpg;)F
      intermediary method_4582 Lnet/minecraft/class_1325;method_4582(Lnet/minecraft/class_1311;Lnet/minecraft/class_1324;Lnet/minecraft/class_1306;)F
      named method_4582 Lnet/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 e Lbpx;e()V
      intermediary method_4594 Lnet/minecraft/class_1325;method_4594()V
      named pauseAll Lnet/minecraft/client/sound/SoundSystem;pauseAll()V
    • resumeAll

      public void resumeAll()
      Mappings:
      Namespace Name Mixin selector
      official f Lbpx;f()V
      intermediary method_4595 Lnet/minecraft/class_1325;method_4595()V
      named resumeAll Lnet/minecraft/client/sound/SoundSystem;resumeAll()V
    • play

      public void play​(SoundInstance sound, int delay)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbpj;I)V
      intermediary method_4580 Lnet/minecraft/class_1325;method_4580(Lnet/minecraft/class_1311;I)V
      named play Lnet/minecraft/client/sound/SoundSystem;play(Lnet/minecraft/client/sound/SoundInstance;I)V
    • method_4586

      private static URL method_4586​(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Ljy;)Ljava/net/URL;
      intermediary method_4586 Lnet/minecraft/class_1325;method_4586(Lnet/minecraft/class_1605;)Ljava/net/URL;
      named method_4586 Lnet/minecraft/client/sound/SoundSystem;method_4586(Lnet/minecraft/util/Identifier;)Ljava/net/URL;
    • method_4587

      public void method_4587​(PlayerEntity player, float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lwn;F)V
      intermediary method_4587 Lnet/minecraft/class_1325;method_4587(Lnet/minecraft/class_1963;F)V
      named method_4587 Lnet/minecraft/client/sound/SoundSystem;method_4587(Lnet/minecraft/entity/player/PlayerEntity;F)V