public class LegacyNamespacedRegistry<V> extends RegistryNamespaced<ResourceLocation,V>
inverseObjectRegistry, underlyingIntegerMapregistryObjects| Constructor and Description |
|---|
LegacyNamespacedRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLegacyName(ResourceLocation old_name,
ResourceLocation new_name) |
V |
getObject(ResourceLocation name) |
containsKey, createUnderlyingMap, getIDForObject, getNameForObject, getObjectById, iterator, registergetKeys, getRandomObject, putObjectpublic V getObject(ResourceLocation name)
getObject in interface IRegistry<ResourceLocation,V>getObject in class RegistryNamespaced<ResourceLocation,V>public void addLegacyName(ResourceLocation old_name, ResourceLocation new_name)