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