private static class GameData.FeatureCallbacks extends java.lang.Object implements IForgeRegistry.AddCallback<Feature<?>>, IForgeRegistry.ClearCallback<Feature<?>>, IForgeRegistry.CreateCallback<Feature<?>>
Modifier and Type | Field and Description |
---|---|
(package private) static GameData.FeatureCallbacks |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
FeatureCallbacks() |
Modifier and Type | Method and Description |
---|---|
void |
onAdd(IForgeRegistryInternal<Feature<?>> owner,
RegistryManager stage,
int id,
Feature<?> obj,
Feature<?> oldObj) |
void |
onClear(IForgeRegistryInternal<Feature<?>> owner,
RegistryManager stage) |
void |
onCreate(IForgeRegistryInternal<Feature<?>> owner,
RegistryManager stage) |
static final GameData.FeatureCallbacks INSTANCE
public void onAdd(IForgeRegistryInternal<Feature<?>> owner, RegistryManager stage, int id, Feature<?> obj, Feature<?> oldObj)
onAdd
in interface IForgeRegistry.AddCallback<Feature<?>>
public void onClear(IForgeRegistryInternal<Feature<?>> owner, RegistryManager stage)
onClear
in interface IForgeRegistry.ClearCallback<Feature<?>>
public void onCreate(IForgeRegistryInternal<Feature<?>> owner, RegistryManager stage)
onCreate
in interface IForgeRegistry.CreateCallback<Feature<?>>