private static class GameData.RecipeCallbacks extends java.lang.Object implements IForgeRegistry.ValidateCallback<IRecipe>, IForgeRegistry.MissingFactory<IRecipe>
Modifier and Type | Class and Description |
---|---|
private static class |
GameData.RecipeCallbacks.DummyRecipe |
Modifier and Type | Field and Description |
---|---|
(package private) static GameData.RecipeCallbacks |
INSTANCE |
Modifier | Constructor and Description |
---|---|
private |
RecipeCallbacks() |
Modifier and Type | Method and Description |
---|---|
IRecipe |
createMissing(ResourceLocation key,
boolean isNetwork) |
void |
onValidate(IForgeRegistryInternal<IRecipe> owner,
RegistryManager stage,
int id,
ResourceLocation key,
IRecipe obj) |
static final GameData.RecipeCallbacks INSTANCE
public void onValidate(IForgeRegistryInternal<IRecipe> owner, RegistryManager stage, int id, ResourceLocation key, IRecipe obj)
onValidate
in interface IForgeRegistry.ValidateCallback<IRecipe>
public IRecipe createMissing(ResourceLocation key, boolean isNetwork)
createMissing
in interface IForgeRegistry.MissingFactory<IRecipe>