public class ForgeRecipeProvider extends RecipeProvider
| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<ResourceLocation> |
excludes |
private java.util.Map<Item,Tag<Item>> |
replacements |
generatorHASH_FUNCTION| Constructor and Description |
|---|
ForgeRecipeProvider(DataGenerator generatorIn) |
| Modifier and Type | Method and Description |
|---|---|
private IFinishedRecipe |
enhance(IFinishedRecipe vanilla) |
private Ingredient |
enhance(ResourceLocation name,
Ingredient vanilla) |
private IFinishedRecipe |
enhance(ShapedRecipeBuilder.Result vanilla) |
private IFinishedRecipe |
enhance(ShapelessRecipeBuilder.Result vanilla) |
private void |
exclude(IItemProvider item) |
private <T,R> R |
getField(java.lang.Class<T> clz,
T inst,
int index) |
protected void |
registerRecipes(java.util.function.Consumer<IFinishedRecipe> consumer) |
private void |
replace(IItemProvider item,
Tag<Item> tag) |
protected void |
saveRecipeAdvancement(DirectoryCache cache,
com.google.gson.JsonObject advancementJson,
java.nio.file.Path pathIn) |
act, enteredBlock, getName, hasItem, hasItem, hasItemclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsaveprivate java.util.Set<ResourceLocation> excludes
public ForgeRecipeProvider(DataGenerator generatorIn)
private void exclude(IItemProvider item)
private void replace(IItemProvider item, Tag<Item> tag)
protected void registerRecipes(java.util.function.Consumer<IFinishedRecipe> consumer)
registerRecipes in class RecipeProviderprotected void saveRecipeAdvancement(DirectoryCache cache, com.google.gson.JsonObject advancementJson, java.nio.file.Path pathIn)
saveRecipeAdvancement in class RecipeProviderprivate IFinishedRecipe enhance(IFinishedRecipe vanilla)
private IFinishedRecipe enhance(ShapelessRecipeBuilder.Result vanilla)
private IFinishedRecipe enhance(ShapedRecipeBuilder.Result vanilla)
private Ingredient enhance(ResourceLocation name, Ingredient vanilla)
private <T,R> R getField(java.lang.Class<T> clz,
T inst,
int index)