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_1913named net/minecraft/client/sound/SoundRegistry
-
Field Summary
FieldsFields inherited from class net.minecraft.util.registry.MutableRegistry
map -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(WeightedSoundSet set) voidprotected Map<Identifier,WeightedSoundSet> 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_8224Lnet/minecraft/class_1913;field_8224: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_7334Lnet/minecraft/class_1367;method_7334()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_7134Lnet/minecraft/class_1913;method_7134(Lnet/minecraft/class_1908;)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_7135Lnet/minecraft/class_1913;method_7135()Vnamed clearRegistryLnet/minecraft/client/sound/SoundRegistry;clearRegistry()V
-