public abstract class ForgeRegistryEntry<V extends IForgeRegistryEntry<V>> extends java.lang.Object implements IForgeRegistryEntry<V>
| 修飾子とタイプ | フィールドと説明 |
|---|---|
IRegistryDelegate<V> |
delegate |
| コンストラクタと説明 |
|---|
ForgeRegistryEntry() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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(java.lang.String name) |
V |
setRegistryName(java.lang.String modID,
java.lang.String name) |
public final IRegistryDelegate<V extends IForgeRegistryEntry<V>> delegate
public final V setRegistryName(java.lang.String name)
public final V setRegistryName(ResourceLocation name)
IForgeRegistryEntrysetRegistryName インタフェース内 IForgeRegistryEntry<V extends IForgeRegistryEntry<V>>name - Unique registry namepublic final V setRegistryName(java.lang.String modID, java.lang.String name)
@Nullable public final ResourceLocation getRegistryName()
IForgeRegistryEntrygetRegistryName インタフェース内 IForgeRegistryEntry<V extends IForgeRegistryEntry<V>>public final java.lang.Class<V> getRegistryType()
IForgeRegistryEntrygetRegistryType インタフェース内 IForgeRegistryEntry<V extends IForgeRegistryEntry<V>>