public class LegacyNamespacedRegistry<V> extends RegistryNamespaced<ResourceLocation,V>
inverseObjectRegistry, underlyingIntegerMap
registryObjects
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, register
getKeys, getRandomObject, putObject
@Nullable public V getObject(@Nullable ResourceLocation name)
getObject
in interface IRegistry<ResourceLocation,V>
getObject
in class RegistryNamespaced<ResourceLocation,V>
public void addLegacyName(ResourceLocation old_name, ResourceLocation new_name)