Package net.minecraft.client.sound
Class SoundRegistry
java.lang.Object
net.minecraft.util.registry.MutableRegistry<Identifier,WeightedSoundSet>
net.minecraft.client.sound.SoundRegistry
- All Implemented Interfaces:
Iterable<WeightedSoundSet>,Registry<Identifier,WeightedSoundSet>
@Environment(CLIENT) public class SoundRegistry extends MutableRegistry<Identifier,WeightedSoundSet>
- Mappings:
Namespace Name official bqaintermediary net/minecraft/class_1330named net/minecraft/client/sound/SoundRegistry
-
Field Summary
Fields Modifier and Type Field Description private Map<Identifier,WeightedSoundSet>soundsFields inherited from class net.minecraft.util.registry.MutableRegistry
map -
Constructor Summary
Constructors Constructor Description SoundRegistry() -
Method Summary
Modifier and Type Method Description voidadd(WeightedSoundSet set)voidclearRegistry()protected Map<Identifier,WeightedSoundSet>createMap()Methods inherited from class net.minecraft.util.registry.MutableRegistry
containsKey, get, iterator, keySet, putMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
sounds
- Mappings:
Namespace Name Mixin selector official aLbqa;a:Ljava/util/Map;intermediary field_5527Lnet/minecraft/class_1330;field_5527:Ljava/util/Map;named soundsLnet/minecraft/client/sound/SoundRegistry;sounds:Ljava/util/Map;
-
-
Constructor Details
-
SoundRegistry
public SoundRegistry()
-
-
Method Details
-
createMap
- Overrides:
createMapin classMutableRegistry<Identifier,WeightedSoundSet>- Mappings:
Namespace Name Mixin selector official bLdd;b()Ljava/util/Map;intermediary method_4970Lnet/minecraft/class_1399;method_4970()Ljava/util/Map;named createMapLnet/minecraft/util/registry/MutableRegistry;createMap()Ljava/util/Map;
-
add
- Mappings:
Namespace Name Mixin selector official aLbqa;a(Lbpy;)Vintermediary method_4620Lnet/minecraft/class_1330;method_4620(Lnet/minecraft/class_1327;)Vnamed addLnet/minecraft/client/sound/SoundRegistry;add(Lnet/minecraft/client/sound/WeightedSoundSet;)V
-
clearRegistry
public void clearRegistry()- Mappings:
Namespace Name Mixin selector official aLbqa;a()Vintermediary method_4619Lnet/minecraft/class_1330;method_4619()Vnamed clearRegistryLnet/minecraft/client/sound/SoundRegistry;clearRegistry()V
-