public class SoundRegistry extends RegistrySimple<ResourceLocation,SoundEventAccessor>
registryObjects
Constructor and Description |
---|
SoundRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
add(SoundEventAccessor accessor) |
void |
clearMap()
Reset the underlying sound map (Called on resource manager reload)
|
protected java.util.Map<ResourceLocation,SoundEventAccessor> |
createUnderlyingMap()
Creates the Map we will use to map keys to their registered values.
|
containsKey, getKeys, getObject, getRandomObject, iterator, putObject
protected java.util.Map<ResourceLocation,SoundEventAccessor> createUnderlyingMap()
createUnderlyingMap
in class RegistrySimple<ResourceLocation,SoundEventAccessor>
public void add(SoundEventAccessor accessor)
public void clearMap()