Package net.minecraftforge.registries
Class NamespacedDefaultedWrapper.Factory<V>
java.lang.Object
net.minecraftforge.registries.NamespacedDefaultedWrapper.Factory<V>
- All Implemented Interfaces:
IForgeRegistry.AddCallback<V>
,IForgeRegistry.CreateCallback<V>
- Enclosing class:
- NamespacedDefaultedWrapper<T>
public static class NamespacedDefaultedWrapper.Factory<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, ResourceKey<V> key, 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>
-
onAdd
public void onAdd(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, ResourceKey<V> key, V value, V oldValue) - Specified by:
onAdd
in interfaceIForgeRegistry.AddCallback<V>
-