public interface IForgeRegistryEntry<V>
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
getRegistryName()
A unique identifier for this entry, if this entry is registered already it will return it's official registry name.
|
java.lang.Class<V> |
getRegistryType()
Determines the type for this entry, used to look up the correct registry in the global registries list as there can only be one
registry per concrete class.
|
V |
setRegistryName(ResourceLocation name)
Sets a unique name for this Item.
|
V setRegistryName(ResourceLocation name)
name
- Unique registry name@Nullable ResourceLocation getRegistryName()
java.lang.Class<V> getRegistryType()