Package net.minecraftforge.registries
Class NamespacedDefaultedWrapper.Factory<V extends IForgeRegistryEntry<V>>
java.lang.Object
net.minecraftforge.registries.NamespacedDefaultedWrapper.Factory<V>
- All Implemented Interfaces:
IForgeRegistry.AddCallback<V>
,IForgeRegistry.CreateCallback<V>
- Enclosing class:
- NamespacedDefaultedWrapper<T extends IForgeRegistryEntry<T>>
public static class NamespacedDefaultedWrapper.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>>
-