Package net.minecraftforge.common.data
Class ForgeRecipeProvider
java.lang.Object
net.minecraft.data.recipes.RecipeProvider
net.minecraftforge.common.data.ForgeRecipeProvider
- All Implemented Interfaces:
DataProvider
-
Field Summary
Fields inherited from class net.minecraft.data.recipes.RecipeProvider
advancementPathProvider, COAL_SMELTABLES, COPPER_SMELTABLES, DIAMOND_SMELTABLES, EMERALD_SMELTABLES, GOLD_SMELTABLES, IRON_SMELTABLES, LAPIS_SMELTABLES, recipePathProvider, REDSTONE_SMELTABLES, shapeBuilders
Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
buildCraftingRecipes
(Consumer<FinishedRecipe> consumer) private @Nullable FinishedRecipe
enhance
(FinishedRecipe vanilla) private @Nullable FinishedRecipe
enhance
(ShapedRecipeBuilder.Result vanilla) private @Nullable FinishedRecipe
enhance
(ShapelessRecipeBuilder.Result vanilla) private @Nullable Ingredient
enhance
(ResourceLocation name, Ingredient vanilla) private void
private <T,
R> R private void
protected void
saveAdvancement
(CachedOutput output, com.google.gson.JsonObject advancementJson, Path pathIn) Methods inherited from class net.minecraft.data.recipes.RecipeProvider
banner, bedFromPlanksAndWool, bedFromWhiteBedAndDye, buttonBuilder, candle, carpet, chiseled, chiseledBuilder, coloredCarpetFromWhiteCarpetAndDye, coloredTerracottaFromTerracottaAndDye, coloredWoolFromWhiteWoolAndDye, concretePowder, cookRecipes, cut, cutBuilder, doorBuilder, fenceBuilder, fenceGateBuilder, generateRecipes, getBaseBlock, getBlastingRecipeName, getConversionRecipeName, getHasName, getItemName, getName, getSimpleRecipeName, getSmeltingRecipeName, has, has, has, insideOf, inventoryTrigger, netheriteSmithing, nineBlockStorageRecipes, nineBlockStorageRecipes, nineBlockStorageRecipesRecipesWithCustomUnpacking, nineBlockStorageRecipesWithCustomPacking, oneToOneConversionRecipe, oneToOneConversionRecipe, oreBlasting, oreCooking, oreSmelting, planksFromLog, planksFromLogs, polished, polishedBuilder, pressurePlate, pressurePlateBuilder, run, signBuilder, simpleCookingRecipe, slab, slabBuilder, smeltingResultFromBase, stainedGlassFromGlassAndDye, stainedGlassPaneFromGlassPaneAndDye, stainedGlassPaneFromStainedGlass, stairBuilder, stonecutterResultFromBase, stonecutterResultFromBase, trapdoorBuilder, wall, wallBuilder, waxRecipes, woodenBoat, woodFromLogs
-
Field Details
-
replacements
-
excludes
-
-
Constructor Details
-
ForgeRecipeProvider
-
-
Method Details
-
exclude
-
replace
-
buildCraftingRecipes
- Overrides:
buildCraftingRecipes
in classRecipeProvider
-
enhance
-
enhance
-
saveAdvancement
protected void saveAdvancement(CachedOutput output, com.google.gson.JsonObject advancementJson, Path pathIn) - Overrides:
saveAdvancement
in classRecipeProvider
-
enhance
-
enhance
-
getField
-