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
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.foundation.data.recipe.CreateRecipeProvider
CreateRecipeProvider.GeneratedRecipe, CreateRecipeProvider.I, CreateRecipeProvider.Marker -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected static final List<ProcessingRecipeGen>Fields inherited from class com.simibubi.create.foundation.data.recipe.CreateRecipeProvider
allFields inherited from class net.minecraft.data.recipes.RecipeProvider
COAL_SMELTABLES, COPPER_SMELTABLES, DIAMOND_SMELTABLES, EMERALD_SMELTABLES, generator, GOLD_SMELTABLES, IRON_SMELTABLES, LAPIS_SMELTABLES, REDSTONE_SMELTABLES, shapeBuildersFields inherited from interface net.minecraft.data.DataProvider
SHA1 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends ProcessingRecipe<?>>
CreateRecipeProvider.GeneratedRecipecreate(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 recipeprotected <T extends ProcessingRecipe<?>>
CreateRecipeProvider.GeneratedRecipecreate(net.minecraft.resources.ResourceLocation name, UnaryOperator<ProcessingRecipeBuilder<T>> transform) Create a new processing recipe, with recipe definitions provided by the functionprotected <T extends ProcessingRecipe<?>>
CreateRecipeProvider.GeneratedRecipecreateWithDeferredId(Supplier<net.minecraft.resources.ResourceLocation> name, UnaryOperator<ProcessingRecipeBuilder<T>> transform) getName()protected abstract IRecipeTypeInfoprotected <T extends ProcessingRecipe<?>>
ProcessingRecipeSerializer<T>protected Supplier<net.minecraft.resources.ResourceLocation>idWithSuffix(Supplier<net.minecraft.world.level.ItemLike> item, String suffix) static voidregisterAll(net.minecraft.data.DataGenerator gen) Methods inherited from class com.simibubi.create.foundation.data.recipe.CreateRecipeProvider
buildCraftingRecipes, registerMethods 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, getSimpleRecipeName, getSmeltingRecipeName, has, has, has, insideOf, inventoryTrigger, netheriteSmithing, nineBlockStorageRecipes, nineBlockStorageRecipes, nineBlockStorageRecipesRecipesWithCustomUnpacking, nineBlockStorageRecipesWithCustomPacking, oneToOneConversionRecipe, oneToOneConversionRecipe, oreBlasting, oreCooking, oreSmelting, planksFromLog, planksFromLogs, polished, polishedBuilder, pressurePlate, pressurePlateBuilder, run, saveAdvancement, signBuilder, simpleCookingRecipe, slab, slabBuilder, smeltingResultFromBase, stainedGlassFromGlassAndDye, stainedGlassPaneFromGlassPaneAndDye, stainedGlassPaneFromStainedGlass, stairBuilder, stonecutterResultFromBase, stonecutterResultFromBase, trapdoorBuilder, wall, wallBuilder, waxRecipes, woodenBoat, woodFromLogs
-
Field Details
-
GENERATORS
-
BUCKET
protected static final int BUCKET- See Also:
-
BOTTLE
protected static final int BOTTLE- See Also:
-
-
Constructor Details
-
ProcessingRecipeGen
public ProcessingRecipeGen(net.minecraft.data.DataGenerator generator)
-
-
Method Details
-
registerAll
public static void registerAll(net.minecraft.data.DataGenerator gen) -
create
protected <T extends ProcessingRecipe<?>> CreateRecipeProvider.GeneratedRecipe 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 -
createWithDeferredId
protected <T extends ProcessingRecipe<?>> CreateRecipeProvider.GeneratedRecipe createWithDeferredId(Supplier<net.minecraft.resources.ResourceLocation> name, UnaryOperator<ProcessingRecipeBuilder<T>> transform) -
create
protected <T extends ProcessingRecipe<?>> CreateRecipeProvider.GeneratedRecipe create(net.minecraft.resources.ResourceLocation name, UnaryOperator<ProcessingRecipeBuilder<T>> transform) Create a new processing recipe, with recipe definitions provided by the function -
getRecipeType
-
getSerializer
-
idWithSuffix
-
getName
- Specified by:
getNamein interfacenet.minecraft.data.DataProvider- Overrides:
getNamein classnet.minecraft.data.recipes.RecipeProvider
-