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_1913
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_8224 Lnet/minecraft/class_1913;field_8224: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_7334 Lnet/minecraft/class_1367;method_7334()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_7134 Lnet/minecraft/class_1913;method_7134(Lnet/minecraft/class_1908;)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_7135 Lnet/minecraft/class_1913;method_7135()V
      named clearRegistry Lnet/minecraft/client/sound/SoundRegistry;clearRegistry()V