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_622
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_8190 Lnet/minecraft/class_622;field_8190: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_8191 Lnet/minecraft/class_622;field_8191: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_8192 Lnet/minecraft/class_622;field_8192:Lnet/minecraft/class_1909;
      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_2264 Lnet/minecraft/class_622;field_2264:Lnet/minecraft/class_347;
      named options Lnet/minecraft/client/sound/SoundSystem;options:Lnet/minecraft/client/options/GameOptions;
    • field_8193

      Mappings:
      Namespace Name Mixin selector
      official e Lbpx;e:Lbpx$a;
      intermediary field_8193 Lnet/minecraft/class_622;field_8193:Lnet/minecraft/class_622$class_1907;
      named field_8193 Lnet/minecraft/client/sound/SoundSystem;field_8193:Lnet/minecraft/client/sound/SoundSystem$ThreadSafeSoundSystem;
    • started

      private boolean started
      Mappings:
      Namespace Name Mixin selector
      official f Lbpx;f:Z
      intermediary field_2265 Lnet/minecraft/class_622;field_2265: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_8194 Lnet/minecraft/class_622;field_8194:I
      named ticks Lnet/minecraft/client/sound/SoundSystem;ticks:I
    • field_8195

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

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

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

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

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

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

      private final Map<String,Integer> field_8201
      Mappings:
      Namespace Name Mixin selector
      official n Lbpx;n:Ljava/util/Map;
      intermediary field_8201 Lnet/minecraft/class_622;field_8201:Ljava/util/Map;
      named field_8201 Lnet/minecraft/client/sound/SoundSystem;field_8201: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_622;<init>(Lnet/minecraft/class_1909;Lnet/minecraft/class_347;)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_7095 Lnet/minecraft/class_622;method_7095()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_7114 Lnet/minecraft/class_622;method_7114()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_7103 Lnet/minecraft/class_622;method_7103(Lnet/minecraft/class_2153;)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_7104 Lnet/minecraft/class_622;method_7104(Lnet/minecraft/class_2153;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_1714 Lnet/minecraft/class_622;method_1714()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_4374 Lnet/minecraft/class_622;method_4374()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_7109 Lnet/minecraft/class_622;method_7109()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_7097 Lnet/minecraft/class_622;method_7097(Lnet/minecraft/class_1900;)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_7106 Lnet/minecraft/class_622;method_7106(Lnet/minecraft/class_1900;)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_7108 Lnet/minecraft/class_622;method_7108(Lnet/minecraft/class_1900;)V
      named play Lnet/minecraft/client/sound/SoundSystem;play(Lnet/minecraft/client/sound/SoundInstance;)V
    • method_7099

      private float method_7099(SoundInstance soundInstance, Sound sound)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbpj;Lbpw;)F
      intermediary method_7099 Lnet/minecraft/class_622;method_7099(Lnet/minecraft/class_1900;Lnet/minecraft/class_621;)F
      named method_7099 Lnet/minecraft/client/sound/SoundSystem;method_7099(Lnet/minecraft/client/sound/SoundInstance;Lnet/minecraft/client/sound/Sound;)F
    • method_7100

      private float method_7100(SoundInstance soundInstance, Sound sound, SoundCategory soundCategory)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Lbpj;Lbpw;Lbpg;)F
      intermediary method_7100 Lnet/minecraft/class_622;method_7100(Lnet/minecraft/class_1900;Lnet/minecraft/class_621;Lnet/minecraft/class_2153;)F
      named method_7100 Lnet/minecraft/client/sound/SoundSystem;method_7100(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_7110 Lnet/minecraft/class_622;method_7110()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_7111 Lnet/minecraft/class_622;method_7111()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_7098 Lnet/minecraft/class_622;method_7098(Lnet/minecraft/class_1900;I)V
      named play Lnet/minecraft/client/sound/SoundSystem;play(Lnet/minecraft/client/sound/SoundInstance;I)V
    • method_7096

      private static URL method_7096(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official a Lbpx;a(Ljy;)Ljava/net/URL;
      intermediary method_7096 Lnet/minecraft/class_622;method_7096(Lnet/minecraft/class_1653;)Ljava/net/URL;
      named method_7096 Lnet/minecraft/client/sound/SoundSystem;method_7096(Lnet/minecraft/util/Identifier;)Ljava/net/URL;
    • method_7105

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