public class RegistryManager
extends java.lang.Object
修飾子とタイプ | フィールドと説明 |
---|---|
static RegistryManager |
ACTIVE |
static RegistryManager |
FROZEN |
static RegistryManager |
VANILLA |
コンストラクタと説明 |
---|
RegistryManager(java.lang.String name) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
clean() |
static java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.String,FMLHandshakeMessages.S2CRegistry>> |
generateRegistryPackets(boolean isLocal) |
java.lang.String |
getName() |
<V extends IForgeRegistryEntry<V>> |
getName(IForgeRegistry<V> reg) |
<V extends IForgeRegistryEntry<V>> |
getRegistry(java.lang.Class<? super V> cls) |
<V extends IForgeRegistryEntry<V>> |
getRegistry(ResourceLocation key) |
<V extends IForgeRegistryEntry<V>> |
getRegistry(ResourceLocation key,
RegistryManager other) |
static java.util.List<ResourceLocation> |
getRegistryNamesForSyncToClient() |
<V extends IForgeRegistryEntry<V>> |
getSuperType(ResourceLocation key) |
java.util.Map<ResourceLocation,ForgeRegistry.Snapshot> |
takeSnapshot(boolean savingToDisc) |
<V extends IForgeRegistryEntry<V>> |
updateLegacyName(ResourceLocation legacyName) |
public static final RegistryManager ACTIVE
public static final RegistryManager VANILLA
public static final RegistryManager FROZEN
public java.lang.String getName()
public <V extends IForgeRegistryEntry<V>> java.lang.Class<V> getSuperType(ResourceLocation key)
public <V extends IForgeRegistryEntry<V>> ForgeRegistry<V> getRegistry(ResourceLocation key)
public <V extends IForgeRegistryEntry<V>> IForgeRegistry<V> getRegistry(java.lang.Class<? super V> cls)
public <V extends IForgeRegistryEntry<V>> ResourceLocation getName(IForgeRegistry<V> reg)
public <V extends IForgeRegistryEntry<V>> ResourceLocation updateLegacyName(ResourceLocation legacyName)
public <V extends IForgeRegistryEntry<V>> ForgeRegistry<V> getRegistry(ResourceLocation key, RegistryManager other)
public java.util.Map<ResourceLocation,ForgeRegistry.Snapshot> takeSnapshot(boolean savingToDisc)
public void clean()
public static java.util.List<org.apache.commons.lang3.tuple.Pair<java.lang.String,FMLHandshakeMessages.S2CRegistry>> generateRegistryPackets(boolean isLocal)
public static java.util.List<ResourceLocation> getRegistryNamesForSyncToClient()