Class NeoForgeRecipeProvider
java.lang.Object
net.minecraft.data.recipes.RecipeProvider
net.minecraft.data.recipes.packs.VanillaRecipeProvider
net.neoforged.neoforge.common.data.internal.NeoForgeRecipeProvider
- All Implemented Interfaces:
DataProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.data.recipes.packs.VanillaRecipeProvider
VanillaRecipeProvider.TrimTemplate
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set
<ResourceLocation> private final Map
<Item, Ingredient> Fields inherited from class net.minecraft.data.recipes.packs.VanillaRecipeProvider
COAL_SMELTABLES, COPPER_SMELTABLES, DIAMOND_SMELTABLES, EMERALD_SMELTABLES, GOLD_SMELTABLES, IRON_SMELTABLES, LAPIS_SMELTABLES, REDSTONE_SMELTABLES
Fields inherited from class net.minecraft.data.recipes.RecipeProvider
advancementPathProvider, recipePathProvider
Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, INDENT_WIDTH, KEY_COMPARATOR, LOGGER
-
Constructor Summary
ConstructorsConstructorDescriptionNeoForgeRecipeProvider
(PackOutput packOutput, CompletableFuture<HolderLookup.Provider> provider) -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletableFuture
<?> buildAdvancement
(CachedOutput p_253674_, HolderLookup.Provider p_323646_, AdvancementHolder p_301116_) protected void
buildRecipes
(RecipeOutput recipeOutput) private @Nullable Ingredient
enhance
(ResourceLocation name, Ingredient vanilla) private @Nullable Recipe
<?> enhance
(ResourceLocation id, Recipe<?> vanilla) private @Nullable ShapedRecipe
enhance
(ResourceLocation id, ShapedRecipe vanilla) private @Nullable ShapelessRecipe
enhance
(ResourceLocation id, ShapelessRecipe vanilla) private void
private void
private void
Methods inherited from class net.minecraft.data.recipes.packs.VanillaRecipeProvider
run, smithingTrims
Methods inherited from class net.minecraft.data.recipes.RecipeProvider
banner, bedFromPlanksAndWool, buildAdvancement, buildRecipes, buttonBuilder, candle, carpet, chestBoat, chiseled, chiseledBuilder, colorBlockWithDye, coloredTerracottaFromTerracottaAndDye, concretePowder, cookRecipes, copperBulb, copySmithingTemplate, copySmithingTemplate, copySmithingTemplate, cut, cutBuilder, doorBuilder, fenceBuilder, fenceGateBuilder, generateForEnabledBlockFamilies, generateRecipes, getBaseBlock, getBlastingRecipeName, getConversionRecipeName, getHasName, getItemName, getName, getSimpleRecipeName, getSmeltingRecipeName, grate, hangingSign, has, has, has, insideOf, inventoryTrigger, inventoryTrigger, mosaicBuilder, 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, threeByThreePacker, threeByThreePacker, trapdoorBuilder, trimSmithing, twoByTwoPacker, wall, wallBuilder, waxRecipes, woodenBoat, woodFromLogs
-
Field Details
-
replacements
-
specialReplacements
-
excludes
-
-
Constructor Details
-
NeoForgeRecipeProvider
public NeoForgeRecipeProvider(PackOutput packOutput, CompletableFuture<HolderLookup.Provider> provider)
-
-
Method Details
-
exclude
-
exclude
-
replace
-
buildRecipes
- Overrides:
buildRecipes
in classVanillaRecipeProvider
-
enhance
-
enhance
-
buildAdvancement
protected CompletableFuture<?> buildAdvancement(CachedOutput p_253674_, HolderLookup.Provider p_323646_, AdvancementHolder p_301116_) - Overrides:
buildAdvancement
in classRecipeProvider
-
enhance
-
enhance
-