Class BlendingRecipe.Gen
java.lang.Object
net.minecraft.data.recipes.RecipeProvider
com.simibubi.create.api.data.recipe.BaseRecipeProvider
com.simibubi.create.api.data.recipe.ProcessingRecipeGen<com.simibubi.create.content.processing.recipe.ProcessingRecipeParams,BlendingRecipe,AdvancedProcessingRecipe.BasinBuilder<BlendingRecipe>>
com.petrolpark.compat.create.core.recipe.AdvancedBasinRecipe.Gen<BlendingRecipe>
com.petrolpark.compat.create.common.processing.blender.BlendingRecipe.Gen
- All Implemented Interfaces:
net.minecraft.data.DataProvider
- Enclosing class:
BlendingRecipe
The base class for Blending recipe generation.
Addons should extend this and use the
ProcessingRecipeGen.create(java.lang.String, java.util.function.Supplier<net.minecraft.world.level.ItemLike>, java.util.function.UnaryOperator<B>) methods to make recipes.-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.api.data.recipe.BaseRecipeProvider
com.simibubi.create.api.data.recipe.BaseRecipeProvider.GeneratedRecipeNested classes/interfaces inherited from interface net.minecraft.data.DataProvider
net.minecraft.data.DataProvider.Factory<T extends net.minecraft.data.DataProvider> -
Field Summary
Fields inherited from class com.simibubi.create.api.data.recipe.BaseRecipeProvider
all, modidFields inherited from class net.minecraft.data.recipes.RecipeProvider
advancementPathProvider, recipePathProviderFields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, INDENT_WIDTH, KEY_COMPARATOR, LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionGen(net.minecraft.data.PackOutput output, CompletableFuture<net.minecraft.core.HolderLookup.Provider> registries, String defaultNamespace) -
Method Summary
Modifier and TypeMethodDescriptiongetBuilder(net.minecraft.resources.ResourceLocation id) protected com.simibubi.create.foundation.recipe.IRecipeTypeInfoMethods inherited from class com.simibubi.create.api.data.recipe.ProcessingRecipeGen
create, create, create, create, createWithDeferredId, getName, idWithSuffixMethods inherited from class com.simibubi.create.api.data.recipe.BaseRecipeProvider
asResource, buildRecipes, registerMethods 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
-
Constructor Details
-
Gen
public Gen(net.minecraft.data.PackOutput output, CompletableFuture<net.minecraft.core.HolderLookup.Provider> registries, String defaultNamespace)
-
-
Method Details
-
getRecipeType
protected com.simibubi.create.foundation.recipe.IRecipeTypeInfo getRecipeType()- Specified by:
getRecipeTypein classcom.simibubi.create.api.data.recipe.ProcessingRecipeGen<com.simibubi.create.content.processing.recipe.ProcessingRecipeParams,BlendingRecipe, AdvancedProcessingRecipe.BasinBuilder<BlendingRecipe>>
-
getBuilder
protected AdvancedProcessingRecipe.BasinBuilder<BlendingRecipe> getBuilder(net.minecraft.resources.ResourceLocation id) - Specified by:
getBuilderin classcom.simibubi.create.api.data.recipe.ProcessingRecipeGen<com.simibubi.create.content.processing.recipe.ProcessingRecipeParams,BlendingRecipe, AdvancedProcessingRecipe.BasinBuilder<BlendingRecipe>>
-