Class SoundRegistry

java.lang.Object
net.minecraft.util.registry.MutableRegistry
net.minecraft.client.sound.SoundRegistry
All Implemented Interfaces:
Iterable, Registry

@Environment(CLIENT) public class SoundRegistry extends MutableRegistry
Mappings:
Namespace Name
official czl
intermediary net/minecraft/class_1913
named net/minecraft/client/sound/SoundRegistry
  • Field Details

    • sounds

      private Map sounds
      Mappings:
      Namespace Name Mixin selector
      official a Lczl;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 createMap()
      Overrides:
      createMap in class MutableRegistry
      Mappings:
      Namespace Name Mixin selector
      official b Lfb;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 Lczl;a(Lczg;)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 Lczl;a()V
      intermediary method_7135 Lnet/minecraft/class_1913;method_7135()V
      named clearRegistry Lnet/minecraft/client/sound/SoundRegistry;clearRegistry()V