public class RegistryManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static RegistryManager |
ACTIVE |
static RegistryManager |
FROZEN |
static RegistryManager |
VANILLA |
Constructor and Description |
---|
RegistryManager(java.lang.String name) |
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()