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 bzw
intermediary net/minecraft/class_1909
named net/minecraft/client/sound/SoundManager
  • Field Details

    • field_13702

      public static final class_2906 field_13702
      Mappings:
      Namespace Name Mixin selector
      official a Lbzw;a:Lbzd;
      intermediary field_13702 Lnet/minecraft/class_1909;field_13702:Lnet/minecraft/class_2906;
      named field_13702 Lnet/minecraft/client/sound/SoundManager;field_13702:Lnet/minecraft/client/class_2906;
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lbzw;b:Lorg/apache/logging/log4j/Logger;
      intermediary field_8213 Lnet/minecraft/class_1909;field_8213:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/sound/SoundManager;LOGGER:Lorg/apache/logging/log4j/Logger;
    • GSON

      private static final Gson GSON
      Mappings:
      Namespace Name Mixin selector
      official c Lbzw;c:Lcom/google/gson/Gson;
      intermediary field_8214 Lnet/minecraft/class_1909;field_8214:Lcom/google/gson/Gson;
      named GSON Lnet/minecraft/client/sound/SoundManager;GSON:Lcom/google/gson/Gson;
    • TYPE

      private static final ParameterizedType TYPE
      Mappings:
      Namespace Name Mixin selector
      official d Lbzw;d:Ljava/lang/reflect/ParameterizedType;
      intermediary field_8215 Lnet/minecraft/class_1909;field_8215:Ljava/lang/reflect/ParameterizedType;
      named TYPE Lnet/minecraft/client/sound/SoundManager;TYPE:Ljava/lang/reflect/ParameterizedType;
    • loadedSounds

      private final SoundRegistry loadedSounds
      Mappings:
      Namespace Name Mixin selector
      official e Lbzw;e:Lbzx;
      intermediary field_8216 Lnet/minecraft/class_1909;field_8216:Lnet/minecraft/class_1913;
      named loadedSounds Lnet/minecraft/client/sound/SoundManager;loadedSounds:Lnet/minecraft/client/sound/SoundRegistry;
    • soundSystem

      private final SoundSystem soundSystem
      Mappings:
      Namespace Name Mixin selector
      official f Lbzw;f:Lbzu;
      intermediary field_8217 Lnet/minecraft/class_1909;field_8217:Lnet/minecraft/class_622;
      named soundSystem Lnet/minecraft/client/sound/SoundManager;soundSystem:Lnet/minecraft/client/sound/SoundSystem;
    • resourceManager

      private final ResourceManager resourceManager
      Mappings:
      Namespace Name Mixin selector
      official g Lbzw;g:Lbxd;
      intermediary field_8218 Lnet/minecraft/class_1909;field_8218:Lnet/minecraft/class_1654;
      named resourceManager Lnet/minecraft/client/sound/SoundManager;resourceManager:Lnet/minecraft/resource/ResourceManager;
  • Constructor Details

    • SoundManager

      public SoundManager(ResourceManager resourceManager, GameOptions options)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbzw;<init>(Lbxd;Lbcz;)V
      intermediary <init> Lnet/minecraft/class_1909;<init>(Lnet/minecraft/class_1654;Lnet/minecraft/class_347;)V
      named <init> Lnet/minecraft/client/sound/SoundManager;<init>(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/client/options/GameOptions;)V
  • Method Details

    • reload

      public void reload(ResourceManager resourceManager)
      Specified by:
      reload in interface ResourceReloadListener
      Mappings:
      Namespace Name Mixin selector
      official a Lbxe;a(Lbxd;)V
      intermediary method_5895 Lnet/minecraft/class_286;method_5895(Lnet/minecraft/class_1654;)V
      named reload Lnet/minecraft/resource/ResourceReloadListener;reload(Lnet/minecraft/resource/ResourceManager;)V
    • readSounds

      protected Map<String,SoundEntry> readSounds(InputStream inputStream)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzw;a(Ljava/io/InputStream;)Ljava/util/Map;
      intermediary method_10434 Lnet/minecraft/class_1909;method_10434(Ljava/io/InputStream;)Ljava/util/Map;
      named readSounds Lnet/minecraft/client/sound/SoundManager;readSounds(Ljava/io/InputStream;)Ljava/util/Map;
    • register

      private void register(Identifier id, SoundEntry entry)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzw;a(Lkn;Lbze;)V
      intermediary method_7120 Lnet/minecraft/class_1909;method_7120(Lnet/minecraft/class_1653;Lnet/minecraft/class_1896;)V
      named register Lnet/minecraft/client/sound/SoundManager;register(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/sound/SoundEntry;)V
    • method_12542

      private boolean method_12542(class_2906 class_2906, Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzw;a(Lbzd;Lkn;)Z
      intermediary method_12542 Lnet/minecraft/class_1909;method_12542(Lnet/minecraft/class_2906;Lnet/minecraft/class_1653;)Z
      named method_12542 Lnet/minecraft/client/sound/SoundManager;method_12542(Lnet/minecraft/client/class_2906;Lnet/minecraft/util/Identifier;)Z
    • method_12545

      @Nullable public SoundContainerImpl method_12545(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzw;a(Lkn;)Lbzy;
      intermediary method_12545 Lnet/minecraft/class_1909;method_12545(Lnet/minecraft/class_1653;)Lnet/minecraft/class_1915;
      named method_12545 Lnet/minecraft/client/sound/SoundManager;method_12545(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/sound/SoundContainerImpl;
    • play

      public void play(SoundInstance sound)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzw;a(Lbzg;)V
      intermediary method_7121 Lnet/minecraft/class_1909;method_7121(Lnet/minecraft/class_1900;)V
      named play Lnet/minecraft/client/sound/SoundManager;play(Lnet/minecraft/client/sound/SoundInstance;)V
    • play

      public void play(SoundInstance sound, int delay)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzw;a(Lbzg;I)V
      intermediary method_7122 Lnet/minecraft/class_1909;method_7122(Lnet/minecraft/class_1900;I)V
      named play Lnet/minecraft/client/sound/SoundManager;play(Lnet/minecraft/client/sound/SoundInstance;I)V
    • method_7125

      public void method_7125(PlayerEntity playerEntity, float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzw;a(Lzs;F)V
      intermediary method_7125 Lnet/minecraft/class_1909;method_7125(Lnet/minecraft/class_988;F)V
      named method_7125 Lnet/minecraft/client/sound/SoundManager;method_7125(Lnet/minecraft/entity/player/PlayerEntity;F)V
    • pauseAll

      public void pauseAll()
      Mappings:
      Namespace Name Mixin selector
      official a Lbzw;a()V
      intermediary method_7127 Lnet/minecraft/class_1909;method_7127()V
      named pauseAll Lnet/minecraft/client/sound/SoundManager;pauseAll()V
    • stopAll

      public void stopAll()
      Mappings:
      Namespace Name Mixin selector
      official b Lbzw;b()V
      intermediary method_7129 Lnet/minecraft/class_1909;method_7129()V
      named stopAll Lnet/minecraft/client/sound/SoundManager;stopAll()V
    • close

      public void close()
      Mappings:
      Namespace Name Mixin selector
      official c Lbzw;c()V
      intermediary method_7131 Lnet/minecraft/class_1909;method_7131()V
      named close Lnet/minecraft/client/sound/SoundManager;close()V
    • tick

      public void tick()
      Specified by:
      tick in interface Tickable
      Mappings:
      Namespace Name Mixin selector
      official E_ Llb;E_()V
      intermediary method_2053 Lnet/minecraft/class_746;method_2053()V
      named tick Lnet/minecraft/util/Tickable;tick()V
    • resumeAll

      public void resumeAll()
      Mappings:
      Namespace Name Mixin selector
      official d Lbzw;d()V
      intermediary method_7132 Lnet/minecraft/class_1909;method_7132()V
      named resumeAll Lnet/minecraft/client/sound/SoundManager;resumeAll()V
    • updateSoundVolume

      public void updateSoundVolume(SoundCategory category, float volume)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzw;a(Lnk;F)V
      intermediary method_7124 Lnet/minecraft/class_1909;method_7124(Lnet/minecraft/class_2153;F)V
      named updateSoundVolume Lnet/minecraft/client/sound/SoundManager;updateSoundVolume(Lnet/minecraft/client/sound/SoundCategory;F)V
    • stop

      public void stop(SoundInstance instance)
      Mappings:
      Namespace Name Mixin selector
      official b Lbzw;b(Lbzg;)V
      intermediary method_7128 Lnet/minecraft/class_1909;method_7128(Lnet/minecraft/class_1900;)V
      named stop Lnet/minecraft/client/sound/SoundManager;stop(Lnet/minecraft/client/sound/SoundInstance;)V
    • isPlaying

      public boolean isPlaying(SoundInstance instance)
      Mappings:
      Namespace Name Mixin selector
      official c Lbzw;c(Lbzg;)Z
      intermediary method_7130 Lnet/minecraft/class_1909;method_7130(Lnet/minecraft/class_1900;)Z
      named isPlaying Lnet/minecraft/client/sound/SoundManager;isPlaying(Lnet/minecraft/client/sound/SoundInstance;)Z
    • method_12543

      public void method_12543(class_2907 class_2907)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzw;a(Lbzv;)V
      intermediary method_12543 Lnet/minecraft/class_1909;method_12543(Lnet/minecraft/class_2907;)V
      named method_12543 Lnet/minecraft/client/sound/SoundManager;method_12543(Lnet/minecraft/client/class_2907;)V
    • method_12546

      public void method_12546(class_2907 class_2907)
      Mappings:
      Namespace Name Mixin selector
      official b Lbzw;b(Lbzv;)V
      intermediary method_12546 Lnet/minecraft/class_1909;method_12546(Lnet/minecraft/class_2907;)V
      named method_12546 Lnet/minecraft/client/sound/SoundManager;method_12546(Lnet/minecraft/client/class_2907;)V
    • method_12544

      public void method_12544(String string, SoundCategory soundCategory)
      Mappings:
      Namespace Name Mixin selector
      official a Lbzw;a(Ljava/lang/String;Lnk;)V
      intermediary method_12544 Lnet/minecraft/class_1909;method_12544(Ljava/lang/String;Lnet/minecraft/class_2153;)V
      named method_12544 Lnet/minecraft/client/sound/SoundManager;method_12544(Ljava/lang/String;Lnet/minecraft/client/sound/SoundCategory;)V