Class SoundRegistry

All Implemented Interfaces:
Iterable<WeightedSoundSet>, Registry<Identifier,​WeightedSoundSet>

@Environment(CLIENT)
public class SoundRegistry
extends MutableRegistry<Identifier,​WeightedSoundSet>
Mappings:
Namespace Name
official bqa
intermediary net/minecraft/class_1330
named net/minecraft/client/sound/SoundRegistry
  • Field Details

    • sounds

      private Map<Identifier,​WeightedSoundSet> sounds
      Mappings:
      Namespace Name Mixin selector
      official a Lbqa;a:Ljava/util/Map;
      intermediary field_5527 Lnet/minecraft/class_1330;field_5527:Ljava/util/Map;
      named sounds Lnet/minecraft/client/sound/SoundRegistry;sounds:Ljava/util/Map;
  • Constructor Details

    • SoundRegistry

      public SoundRegistry()
  • Method Details

    • createMap

      protected Map<Identifier,​WeightedSoundSet> createMap()
      Overrides:
      createMap in class MutableRegistry<Identifier,​WeightedSoundSet>
      Mappings:
      Namespace Name Mixin selector
      official b Ldd;b()Ljava/util/Map;
      intermediary method_4970 Lnet/minecraft/class_1399;method_4970()Ljava/util/Map;
      named createMap Lnet/minecraft/util/registry/MutableRegistry;createMap()Ljava/util/Map;
    • add

      public void add​(WeightedSoundSet set)
      Mappings:
      Namespace Name Mixin selector
      official a Lbqa;a(Lbpy;)V
      intermediary method_4620 Lnet/minecraft/class_1330;method_4620(Lnet/minecraft/class_1327;)V
      named add Lnet/minecraft/client/sound/SoundRegistry;add(Lnet/minecraft/client/sound/WeightedSoundSet;)V
    • clearRegistry

      public void clearRegistry()
      Mappings:
      Namespace Name Mixin selector
      official a Lbqa;a()V
      intermediary method_4619 Lnet/minecraft/class_1330;method_4619()V
      named clearRegistry Lnet/minecraft/client/sound/SoundRegistry;clearRegistry()V