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