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