Class ProcessingRecipeGen

java.lang.Object
net.minecraft.data.recipes.RecipeProvider
com.simibubi.create.foundation.data.recipe.CreateRecipeProvider
com.simibubi.create.foundation.data.recipe.ProcessingRecipeGen
All Implemented Interfaces:
net.minecraft.data.DataProvider
Direct Known Subclasses:
CompactingRecipeGen, CrushingRecipeGen, CuttingRecipeGen, DeployingRecipeGen, EmptyingRecipeGen, FillingRecipeGen, HauntingRecipeGen, ItemApplicationRecipeGen, MillingRecipeGen, MixingRecipeGen, PolishingRecipeGen, PressingRecipeGen, WashingRecipeGen

public abstract class ProcessingRecipeGen extends CreateRecipeProvider
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.simibubi.create.foundation.data.recipe.CreateRecipeProvider

    CreateRecipeProvider.GeneratedRecipe, CreateRecipeProvider.I, CreateRecipeProvider.Marker

    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 static final int
     
    protected static final int
     
    protected static final List<ProcessingRecipeGen>
     

    Fields inherited from class com.simibubi.create.foundation.data.recipe.CreateRecipeProvider

    all

    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
    ProcessingRecipeGen(net.minecraft.data.PackOutput generator, CompletableFuture<net.minecraft.core.HolderLookup.Provider> registries)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(String namespace, Supplier<net.minecraft.world.level.ItemLike> singleIngredient, UnaryOperator<ProcessingRecipeBuilder<T>> transform)
    Create a processing recipe with a single itemstack ingredient, using its id as the name of the recipe
    create(net.minecraft.resources.ResourceLocation name, UnaryOperator<ProcessingRecipeBuilder<T>> transform)
    Create a new processing recipe, with recipe definitions provided by the function
    createWithDeferredId(Supplier<net.minecraft.resources.ResourceLocation> name, UnaryOperator<ProcessingRecipeBuilder<T>> transform)
     
     
    protected abstract IRecipeTypeInfo
     
    protected <T extends ProcessingRecipe<?>>
    ProcessingRecipeSerializer<T>
     
    protected Supplier<net.minecraft.resources.ResourceLocation>
    idWithSuffix(Supplier<net.minecraft.world.level.ItemLike> item, String suffix)
     
    static void
    registerAll(net.minecraft.data.DataGenerator gen, net.minecraft.data.PackOutput output, CompletableFuture<net.minecraft.core.HolderLookup.Provider> registries)
     

    Methods inherited from class com.simibubi.create.foundation.data.recipe.CreateRecipeProvider

    buildRecipes, register

    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, 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