Class BaseRecipeProvider

java.lang.Object
net.minecraft.data.recipes.RecipeProvider
com.simibubi.create.api.data.recipe.BaseRecipeProvider
All Implemented Interfaces:
net.minecraft.data.DataProvider
Direct Known Subclasses:
CreateStandardRecipeGen, MechanicalCraftingRecipeGen, ProcessingRecipeGen, SequencedAssemblyRecipeGen

public abstract class BaseRecipeProvider extends net.minecraft.data.recipes.RecipeProvider
A class containing some basic setup for other recipe generators to use. Addons should extend this if they add a custom recipe type that is not a processing recipe type and want to use Create's helpers. For processing recipes extend ProcessingRecipeGen.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     

    Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider

    net.minecraft.data.DataProvider.Factory<T extends net.minecraft.data.DataProvider>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    protected final String
     

    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

    Constructors
    Constructor
    Description
    BaseRecipeProvider(net.minecraft.data.PackOutput output, CompletableFuture<net.minecraft.core.HolderLookup.Provider> registries, String defaultNamespace)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.minecraft.resources.ResourceLocation
     
    protected void
    buildRecipes(net.minecraft.data.recipes.RecipeOutput recipeOutput)
     
     

    Methods inherited from class net.minecraft.data.recipes.RecipeProvider

    banner, bedFromPlanksAndWool, buildAdvancement, 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, run, signBuilder, simpleCookingRecipe, slab, slabBuilder, smeltingResultFromBase, stainedGlassFromGlassAndDye, stainedGlassPaneFromGlassPaneAndDye, stainedGlassPaneFromStainedGlass, stairBuilder, stonecutterResultFromBase, stonecutterResultFromBase, threeByThreePacker, threeByThreePacker, trapdoorBuilder, trimSmithing, twoByTwoPacker, wall, wallBuilder, waxRecipes, woodenBoat, woodFromLogs

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • BaseRecipeProvider

      public BaseRecipeProvider(net.minecraft.data.PackOutput output, CompletableFuture<net.minecraft.core.HolderLookup.Provider> registries, String defaultNamespace)
  • Method Details

    • asResource

      protected net.minecraft.resources.ResourceLocation asResource(String path)
    • register

    • buildRecipes

      protected void buildRecipes(net.minecraft.data.recipes.RecipeOutput recipeOutput)
      Overrides:
      buildRecipes in class net.minecraft.data.recipes.RecipeProvider