public class SoundRegistry extends RegistrySimple<ResourceLocation,SoundEventAccessor>
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,SoundEventAccessor> |
soundRegistry |
registryObjects
Constructor and Description |
---|
SoundRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
add(SoundEventAccessor accessor) |
void |
clearMap() |
protected java.util.Map<ResourceLocation,SoundEventAccessor> |
createUnderlyingMap() |
containsKey, getKeys, getObject, getRandomObject, iterator, putObject
private java.util.Map<ResourceLocation,SoundEventAccessor> soundRegistry
protected java.util.Map<ResourceLocation,SoundEventAccessor> createUnderlyingMap()
createUnderlyingMap
in class RegistrySimple<ResourceLocation,SoundEventAccessor>
public void add(SoundEventAccessor accessor)
public void clearMap()