Package net.minecraftforge.registries
Class GameData.SerializerCallbacks
java.lang.Object
net.minecraftforge.registries.GameData.SerializerCallbacks
- All Implemented Interfaces:
IForgeRegistry.AddCallback<DataSerializerEntry>
,IForgeRegistry.ClearCallback<DataSerializerEntry>
,IForgeRegistry.CreateCallback<DataSerializerEntry>
- Enclosing class:
- GameData
private static class GameData.SerializerCallbacks
extends Object
implements IForgeRegistry.AddCallback<DataSerializerEntry>, IForgeRegistry.ClearCallback<DataSerializerEntry>, IForgeRegistry.CreateCallback<DataSerializerEntry>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
SerializerCallbacks
private SerializerCallbacks()
-
-
Method Details
-
onAdd
public void onAdd(IForgeRegistryInternal<DataSerializerEntry> owner, RegistryManager stage, int id, DataSerializerEntry entry, @Nullable DataSerializerEntry oldEntry)- Specified by:
onAdd
in interfaceIForgeRegistry.AddCallback<DataSerializerEntry>
-
onClear
- Specified by:
onClear
in interfaceIForgeRegistry.ClearCallback<DataSerializerEntry>
-
onCreate
- Specified by:
onCreate
in interfaceIForgeRegistry.CreateCallback<DataSerializerEntry>
-