Package net.minecraftforge.registries
Class NamespacedWrapper.Factory<V extends IForgeRegistryEntry<V>>
java.lang.Object
net.minecraftforge.registries.NamespacedWrapper.Factory<V>
- All Implemented Interfaces:
IForgeRegistry.AddCallback<V>
,IForgeRegistry.CreateCallback<V>
- Enclosing class:
- NamespacedWrapper<T extends IForgeRegistryEntry<T>>
public static class NamespacedWrapper.Factory<V extends IForgeRegistryEntry<V>>
extends Object
implements IForgeRegistry.CreateCallback<V>, IForgeRegistry.AddCallback<V>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onAdd
(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, V value, V oldValue) void
onCreate
(IForgeRegistryInternal<V> owner, RegistryManager stage)
-
Field Details
-
ID
-
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
onCreate
- Specified by:
onCreate
in interfaceIForgeRegistry.CreateCallback<V extends IForgeRegistryEntry<V>>
-
onAdd
public void onAdd(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, V value, V oldValue) - Specified by:
onAdd
in interfaceIForgeRegistry.AddCallback<V extends IForgeRegistryEntry<V>>
-