V - The top level type for the registrypublic interface IForgeRegistry<V extends IForgeRegistryEntry<V>>
extends java.lang.Iterable<V>
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
IForgeRegistry.AddCallback<V extends IForgeRegistryEntry<V>>
Callback fired when objects are added to the registry. 
 | 
static interface  | 
IForgeRegistry.ClearCallback<V extends IForgeRegistryEntry<V>>
Callback fired when the registry is cleared. 
 | 
static interface  | 
IForgeRegistry.CreateCallback<V extends IForgeRegistryEntry<V>>
Callback fired when a registry instance is created. 
 | 
static interface  | 
IForgeRegistry.DummyFactory<V extends IForgeRegistryEntry<V>>
Factory for creating dummy entries, allowing worlds to be loaded and keep the missing block references. 
 | 
static interface  | 
IForgeRegistry.MissingFactory<V extends IForgeRegistryEntry<V>>  | 
static interface  | 
IForgeRegistry.ValidateCallback<V extends IForgeRegistryEntry<V>>
Callback fired when the registry contents are validated. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
containsKey(ResourceLocation key)  | 
boolean | 
containsValue(V value)  | 
java.util.Set<java.util.Map.Entry<ResourceLocation,V>> | 
getEntries()  | 
ResourceLocation | 
getKey(V value)  | 
java.util.Set<ResourceLocation> | 
getKeys()  | 
java.lang.Class<V> | 
getRegistrySuperType()  | 
<T> T | 
getSlaveMap(ResourceLocation slaveMapName,
           java.lang.Class<T> type)
Retrieve the slave map of type T from the registry. 
 | 
V | 
getValue(ResourceLocation key)  | 
java.util.List<V> | 
getValues()
Deprecated. 
 
 | 
default java.util.Collection<V> | 
getValuesCollection()  | 
void | 
register(V value)  | 
void | 
registerAll(V... values)  | 
java.lang.Class<V> getRegistrySuperType()
void register(V value)
void registerAll(V... values)
boolean containsKey(ResourceLocation key)
boolean containsValue(V value)
V getValue(ResourceLocation key)
ResourceLocation getKey(V value)
java.util.Set<ResourceLocation> getKeys()
@Deprecated java.util.List<V> getValues()
getValuesCollection()default java.util.Collection<V> getValuesCollection()
java.util.Set<java.util.Map.Entry<ResourceLocation,V>> getEntries()
<T> T getSlaveMap(ResourceLocation slaveMapName, java.lang.Class<T> type)
T - Type to returnslaveMapName - The name of the slavemaptype - The type