V - The top level type for the registrypublic interface IForgeRegistry<V extends IForgeRegistryEntry<V>>
extends java.lang.Iterable<V>
| 修飾子とタイプ | インタフェースと説明 | 
|---|---|
| static interface  | IForgeRegistry.AddCallback<V extends IForgeRegistryEntry<V>>Callback fired when objects are added to the registry. | 
| static interface  | IForgeRegistry.BakeCallback<V extends IForgeRegistryEntry<V>>Callback fired when the registry is done processing. | 
| 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. | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| boolean | containsKey(ResourceLocation key) | 
| boolean | containsValue(V value) | 
| ResourceLocation | getDefaultKey() | 
| java.util.Set<java.util.Map.Entry<ResourceLocation,V>> | getEntries() | 
| ResourceLocation | getKey(V value) | 
| java.util.Set<ResourceLocation> | getKeys() | 
| ResourceLocation | getRegistryName() | 
| 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.Collection<V> | getValues() | 
| boolean | isEmpty() | 
| void | register(V value) | 
| void | registerAll(V... values) | 
ResourceLocation getRegistryName()
java.lang.Class<V> getRegistrySuperType()
void register(V value)
void registerAll(V... values)
boolean containsKey(ResourceLocation key)
boolean containsValue(V value)
boolean isEmpty()
@Nullable V getValue(ResourceLocation key)
@Nullable ResourceLocation getKey(V value)
@Nullable ResourceLocation getDefaultKey()
@Nonnull java.util.Set<ResourceLocation> getKeys()
@Nonnull java.util.Collection<V> getValues()
@Nonnull 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