Class ModRecipeProvider
java.lang.Object
net.minecraft.data.recipes.RecipeProvider
net.minheur.mhm_bitsnbobs.datagen.ModRecipeProvider
- All Implemented Interfaces:
net.minecraft.data.DataProvider,net.minecraftforge.common.crafting.conditions.IConditionBuilder
public class ModRecipeProvider
extends net.minecraft.data.recipes.RecipeProvider
implements net.minecraftforge.common.crafting.conditions.IConditionBuilder
This provider create the recipes.
-
Nested Class Summary
Nested 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 net.minecraft.data.recipes.RecipeProvider
advancementPathProvider, recipePathProviderFields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidadvancedDiscCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.item.Item resultDisc, net.minecraft.world.level.ItemLike discIngredient, net.minecraft.world.level.ItemLike discAddition) The template for advanced discs.protected static voidatomicalStabilizatorRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike leftIngredient, net.minecraft.world.level.ItemLike rightIngredient, net.minecraft.world.level.ItemLike glueIngredient, net.minecraft.world.level.ItemLike result, int count) Recipe for the atomical stabilizationprotected voidbuildRecipes(Consumer<net.minecraft.data.recipes.FinishedRecipe> pWriter) Called method : it generates recipes.protected static voidcatalyzerCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike catalyzerResult, net.minecraft.world.level.ItemLike base, net.minecraft.world.level.ItemLike surround) The recipe template for the catalyzerprotected static voidcrushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, float resultChance, int processingTime) protected static voidcrushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processingTime) Crushing recipe.protected static voidcrushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processingTime, float bonusResultChance) protected static voidcrushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processingTime, float bonusResultChance, int bonusResultCount) protected static voidcrushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processingTime, int resultAmount) Crushing recipeprotected static voidcrushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processingTime, int mainResultCount, float bonusResultChance) protected static voidcrushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processingTime, int mainResultCount, int bonusResultCount, float bonusResultChance) protected static voidcrushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, net.minecraft.world.level.ItemLike otherResult, int processingTime, float mainChance, float otherChance) protected static voiddeployingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike mainIngredient, net.minecraft.world.level.ItemLike deployIngredient, net.minecraft.world.level.ItemLike result) protected static voidfillingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, String fluid, int fluidAmount, net.minecraft.world.level.ItemLike result) Creates a recipe for filling : give 1 item and 1 fluid with his amountprotected static voidfreezingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike result, net.minecraft.world.level.ItemLike ingredient, int resultAmount) The recipe for the freezer.protected static voidgemPolishingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike result, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> ingredient, String getHasName, int resultAmount) The recipe for the gem polishing.protected static voidgemPolishingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike result, net.minecraft.world.level.ItemLike ingredient, int resultAmount) The recipe for the gem polishing.protected static com.google.gson.JsonObjectgetSequenceDeploying(net.minecraft.world.level.ItemLike transitionalItem, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> deployItem) protected static com.google.gson.JsonObjectgetSequenceDeploying(net.minecraft.world.level.ItemLike transitionalItem, net.minecraft.world.level.ItemLike deployItem) protected static com.google.gson.JsonObjectgetSequenceFilling(net.minecraft.world.level.ItemLike transitionalItem, String fluid, int amount) protected static com.google.gson.JsonObjectgetSequenceFillingPotion(net.minecraft.world.level.ItemLike transitionalItem, String potion, int amount) protected static com.google.gson.JsonObjectgetSequencePressing(net.minecraft.world.level.ItemLike transitionalItem) protected static voidhauntingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result) protected static voidincubationRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike catalyzer, net.minecraft.world.level.ItemLike result, int count) The recipe for the Incubation.protected static voidincubationRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike catalyzer, net.minecraft.world.level.ItemLike result, int count, String id) The recipe for the Incubation.protected static voidinscriberRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> middle, net.minecraft.world.level.ItemLike top, net.minecraft.world.level.ItemLike result, int count, appeng.recipes.handlers.InscriberProcessType mode) Recipe for inscriber.protected static voidinscriberRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike middle, net.minecraft.world.level.ItemLike result, int count, appeng.recipes.handlers.InscriberProcessType mode) Recipe for inscriber.protected static voidinscriberRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike middle, net.minecraft.world.level.ItemLike top, net.minecraft.world.level.ItemLike result, int count, appeng.recipes.handlers.InscriberProcessType mode) Recipe for inscriber.protected static voidinscriberRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike middle, net.minecraft.world.level.ItemLike top, net.minecraft.world.level.ItemLike bottom, net.minecraft.world.level.ItemLike result, int count, appeng.recipes.handlers.InscriberProcessType mode) Recipe for inscriber.protected static voiditemSmoking(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, List<net.minecraft.world.level.ItemLike> pIngredients, net.minecraft.data.recipes.RecipeCategory pCategory, net.minecraft.world.level.ItemLike pResult, float pExperience, int pCookingTime, String pGroup) The item smokingprotected static voidmillingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processTime, int amount) protected static voidmillingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processTime, int amount, float chance) protected static voidmysteriousMagicRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike primary, int primaryCount, net.minecraft.world.level.ItemLike left, int leftCount, net.minecraft.world.level.ItemLike right, int rightCount, net.minecraft.world.level.ItemLike up, int upCount, net.minecraft.world.level.ItemLike down, int downCount, net.minecraft.world.level.ItemLike result, int resultCount, int fuelAmount) Recipe for mysterious magicprotected static voidoreBlasting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, List<net.minecraft.world.level.ItemLike> pIngredients, net.minecraft.data.recipes.RecipeCategory pCategory, net.minecraft.world.level.ItemLike pResult, float pExperience, int pCookingTime, String pGroup) The ore blastingprotected static voidoreCooking(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.item.crafting.RecipeSerializer<? extends net.minecraft.world.item.crafting.AbstractCookingRecipe> pCookingSerializer, List<net.minecraft.world.level.ItemLike> pIngredients, net.minecraft.data.recipes.RecipeCategory pCategory, net.minecraft.world.level.ItemLike pResult, float pExperience, int pCookingTime, String pGroup, String pRecipeName) Ore cooking : it's the base oforeBlasting(java.util.function.Consumer<net.minecraft.data.recipes.FinishedRecipe>, java.util.List<net.minecraft.world.level.ItemLike>, net.minecraft.data.recipes.RecipeCategory, net.minecraft.world.level.ItemLike, float, int, java.lang.String),oreBlasting(java.util.function.Consumer<net.minecraft.data.recipes.FinishedRecipe>, java.util.List<net.minecraft.world.level.ItemLike>, net.minecraft.data.recipes.RecipeCategory, net.minecraft.world.level.ItemLike, float, int, java.lang.String)anditemSmoking(java.util.function.Consumer<net.minecraft.data.recipes.FinishedRecipe>, java.util.List<net.minecraft.world.level.ItemLike>, net.minecraft.data.recipes.RecipeCategory, net.minecraft.world.level.ItemLike, float, int, java.lang.String).protected static voidoreSmelting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, List<net.minecraft.world.level.ItemLike> pIngredients, net.minecraft.data.recipes.RecipeCategory pCategory, net.minecraft.world.level.ItemLike pResult, float pExperience, int pCookingTIme, String pGroup) The ore smelting recipeprotected static voidpotionFillingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, String potionName, int potionAmount, net.minecraft.world.level.ItemLike result) Fill a potion on an itemprotected static voidpressingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result) protected static voidsignCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike signResult, net.minecraft.world.level.ItemLike ingredient) This is a template to craft a sign.protected static voidsignHangingCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike hangingSignResult, net.minecraft.world.level.ItemLike ingredient) This recipe is a template for the hanging sign.protected static voidsimpleAxesCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike stick) Recipe template for an axeprotected static voidsimpleBlockCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike result, net.minecraft.world.level.ItemLike ingredient) This creates a recipe for 9 items to one.protected static voidsimpleBoatCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike boatResult, net.minecraft.world.level.ItemLike ingredient, boolean isChestBoat) This creates a boat recipe.protected static voidsimpleBootsCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient) boots craftingprotected static voidsimpleChestplateCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient) chestplate craftingprotected static voidsimpleDiscCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.item.Item resultDisc, net.minecraft.world.item.Item discIngredient) The template for simple discs.protected static voidsimpleHeadCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike headResult, net.minecraft.world.level.ItemLike ingredient1, net.minecraft.world.level.ItemLike ingredient2) this creates a recipe template for the mob heads.protected static voidsimpleHelmetCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient) Helmet craftingprotected static voidsimpleHoesCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike stick) Recipe template for a hoeprotected static voidsimpleLeggingsCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient) leggings craftingprotected static voidsimplePickaxeCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike stick) Recipe template for a pickaxeprotected static voidsimplePressurePlateCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.level.block.Block result, net.minecraft.world.level.block.Block ingredient) The pressure plate templateprotected static voidsimpleShapelessCraftingOne(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike result, net.minecraft.world.level.ItemLike ingredient, Integer resultQuantity, Integer ingredientQuantity) The shapeless of one itemprotected static voidsimpleShapelessCraftingThree(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike result, Integer resultQuantity, net.minecraft.world.level.ItemLike ingredient1, Integer ingredient1Q, net.minecraft.world.level.ItemLike ingredient2, Integer ingredient2Q, net.minecraft.world.level.ItemLike ingredient3, Integer ingredient3Q) The shapeless of three itemsprotected static voidsimpleShapelessCraftingTwo(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike result, Integer resultQ, net.minecraft.world.level.ItemLike ingredient1, Integer ingredient1Q, net.minecraft.world.level.ItemLike ingredient2, Integer ingredient2Q) The shapeless of two itemsprotected static voidsimpleShovelCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike stick) Recipe template for a shovelprotected static voidsimpleSlabCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.level.block.Block result, net.minecraft.world.level.block.Block ingredient) The slab templateprotected static voidsimpleSmithing(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike pTemplate, net.minecraft.world.level.ItemLike pIngredientItem, net.minecraft.world.level.ItemLike pAddition, net.minecraft.data.recipes.RecipeCategory pCategory, net.minecraft.world.level.ItemLike pResultItem) Recipe for smithing transform.protected static voidsimpleStairsCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.level.block.Block result, net.minecraft.world.level.block.Block ingredient) Template for stairs.protected static voidsimpleStoneCutting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.data.recipes.RecipeCategory pCategory, net.minecraft.world.level.ItemLike pResult, net.minecraft.world.level.ItemLike pMaterial, int pResultCount) Recipe for stone cuttingprotected static voidsimpleSwordCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike stick) Recipe template for a swordprotected static voidsimpleWoodCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike result, net.minecraft.world.level.ItemLike ingredient) This is a template for a 4 to 1 recipe.Methods inherited from class net.minecraft.data.recipes.RecipeProvider
banner, bedFromPlanksAndWool, buildAdvancement, buttonBuilder, candle, carpet, chestBoat, chiseled, chiseledBuilder, colorBlockWithDye, coloredTerracottaFromTerracottaAndDye, concretePowder, cookRecipes, copySmithingTemplate, copySmithingTemplate, cut, cutBuilder, doorBuilder, fenceBuilder, fenceGateBuilder, generateForEnabledBlockFamilies, generateRecipes, getBaseBlock, getBlastingRecipeName, getConversionRecipeName, getHasName, getItemName, getName, getSimpleRecipeName, getSmeltingRecipeName, hangingSign, has, has, has, insideOf, inventoryTrigger, mosaicBuilder, netheriteSmithing, nineBlockStorageRecipes, nineBlockStorageRecipes, nineBlockStorageRecipesRecipesWithCustomUnpacking, nineBlockStorageRecipesWithCustomPacking, oneToOneConversionRecipe, oneToOneConversionRecipe, planksFromLog, planksFromLogs, polished, polishedBuilder, pressurePlate, pressurePlateBuilder, run, saveAdvancement, signBuilder, simpleCookingRecipe, slab, slabBuilder, smeltingResultFromBase, stainedGlassFromGlassAndDye, stainedGlassPaneFromGlassPaneAndDye, stainedGlassPaneFromStainedGlass, stairBuilder, stonecutterResultFromBase, stonecutterResultFromBase, threeByThreePacker, threeByThreePacker, trapdoorBuilder, trimSmithing, twoByTwoPacker, wall, wallBuilder, waxRecipes, woodenBoat, woodFromLogsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.crafting.conditions.IConditionBuilder
and, FALSE, itemExists, modLoaded, not, or, tagEmpty, TRUE
-
Constructor Details
-
ModRecipeProvider
public ModRecipeProvider(net.minecraft.data.PackOutput pOutput)
-
-
Method Details
-
buildRecipes
Called method : it generates recipes.- Specified by:
buildRecipesin classnet.minecraft.data.recipes.RecipeProvider- Parameters:
pWriter- it is the consumer. Used in every recipes.
-
simpleBoatCrafting
protected static void simpleBoatCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike boatResult, net.minecraft.world.level.ItemLike ingredient, boolean isChestBoat) This creates a boat recipe.- Parameters:
isChestBoat- if true, the recipe will have a chest in the middle.
-
simpleHeadCrafting
protected static void simpleHeadCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike headResult, net.minecraft.world.level.ItemLike ingredient1, net.minecraft.world.level.ItemLike ingredient2) this creates a recipe template for the mob heads.- Parameters:
pFinishedRecipeConsumer- the consumerheadResult- the resultingredient1- the main ingredientingredient2- the secondary ingredient
-
simpleBlockCrafting
protected static void simpleBlockCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike result, net.minecraft.world.level.ItemLike ingredient) This creates a recipe for 9 items to one. Template for block like iron. -
signCrafting
protected static void signCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike signResult, net.minecraft.world.level.ItemLike ingredient) This is a template to craft a sign. -
signHangingCrafting
protected static void signHangingCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike hangingSignResult, net.minecraft.world.level.ItemLike ingredient) This recipe is a template for the hanging sign. -
simpleWoodCrafting
protected static void simpleWoodCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike result, net.minecraft.world.level.ItemLike ingredient) This is a template for a 4 to 1 recipe. Used for creating wood from logs -
simpleDiscCrafting
protected static void simpleDiscCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.item.Item resultDisc, net.minecraft.world.item.Item discIngredient) The template for simple discs. Using a discBase.- Parameters:
pFinishedRecipeConsumer- the consumerresultDisc- the resultdiscIngredient- the ingredient
-
advancedDiscCrafting
protected static void advancedDiscCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.item.Item resultDisc, net.minecraft.world.level.ItemLike discIngredient, net.minecraft.world.level.ItemLike discAddition) The template for advanced discs. Using a discBase.- Parameters:
pFinishedRecipeConsumer- the consumerresultDisc- the resultdiscIngredient- the ingredientdiscAddition- the addition
-
simpleStairsCrafting
protected static void simpleStairsCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.level.block.Block result, net.minecraft.world.level.block.Block ingredient) Template for stairs. -
simpleHelmetCrafting
protected static void simpleHelmetCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient) Helmet crafting -
simpleChestplateCrafting
protected static void simpleChestplateCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient) chestplate crafting -
simpleLeggingsCrafting
protected static void simpleLeggingsCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient) leggings crafting -
simpleBootsCrafting
protected static void simpleBootsCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient) boots crafting -
simpleSwordCrafting
protected static void simpleSwordCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike stick) Recipe template for a sword -
simplePickaxeCrafting
protected static void simplePickaxeCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike stick) Recipe template for a pickaxe -
simpleShovelCrafting
protected static void simpleShovelCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike stick) Recipe template for a shovel -
simpleAxesCrafting
protected static void simpleAxesCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike stick) Recipe template for an axe -
simpleHoesCrafting
protected static void simpleHoesCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.item.Item result, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike stick) Recipe template for a hoe -
catalyzerCrafting
protected static void catalyzerCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike catalyzerResult, net.minecraft.world.level.ItemLike base, net.minecraft.world.level.ItemLike surround) The recipe template for the catalyzer- Parameters:
pFinishedRecipeConsumer- the consumercatalyzerResult- the catalizer you want to craftbase- the base of the catalizersurround- the item you add to the base
-
simpleSlabCrafting
protected static void simpleSlabCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.level.block.Block result, net.minecraft.world.level.block.Block ingredient) The slab template -
simplePressurePlateCrafting
protected static void simplePressurePlateCrafting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinisherRecpipeConsumer, net.minecraft.world.level.block.Block result, net.minecraft.world.level.block.Block ingredient) The pressure plate template -
simpleShapelessCraftingOne
protected static void simpleShapelessCraftingOne(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike result, net.minecraft.world.level.ItemLike ingredient, Integer resultQuantity, Integer ingredientQuantity) The shapeless of one item -
simpleShapelessCraftingTwo
protected static void simpleShapelessCraftingTwo(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike result, Integer resultQ, net.minecraft.world.level.ItemLike ingredient1, Integer ingredient1Q, net.minecraft.world.level.ItemLike ingredient2, Integer ingredient2Q) The shapeless of two items -
simpleShapelessCraftingThree
protected static void simpleShapelessCraftingThree(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike result, Integer resultQuantity, net.minecraft.world.level.ItemLike ingredient1, Integer ingredient1Q, net.minecraft.world.level.ItemLike ingredient2, Integer ingredient2Q, net.minecraft.world.level.ItemLike ingredient3, Integer ingredient3Q) The shapeless of three items -
oreSmelting
protected static void oreSmelting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, List<net.minecraft.world.level.ItemLike> pIngredients, net.minecraft.data.recipes.RecipeCategory pCategory, net.minecraft.world.level.ItemLike pResult, float pExperience, int pCookingTIme, String pGroup) The ore smelting recipe -
oreBlasting
protected static void oreBlasting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, List<net.minecraft.world.level.ItemLike> pIngredients, net.minecraft.data.recipes.RecipeCategory pCategory, net.minecraft.world.level.ItemLike pResult, float pExperience, int pCookingTime, String pGroup) The ore blasting -
itemSmoking
protected static void itemSmoking(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, List<net.minecraft.world.level.ItemLike> pIngredients, net.minecraft.data.recipes.RecipeCategory pCategory, net.minecraft.world.level.ItemLike pResult, float pExperience, int pCookingTime, String pGroup) The item smoking -
oreCooking
protected static void oreCooking(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.item.crafting.RecipeSerializer<? extends net.minecraft.world.item.crafting.AbstractCookingRecipe> pCookingSerializer, List<net.minecraft.world.level.ItemLike> pIngredients, net.minecraft.data.recipes.RecipeCategory pCategory, net.minecraft.world.level.ItemLike pResult, float pExperience, int pCookingTime, String pGroup, String pRecipeName) Ore cooking : it's the base oforeBlasting(java.util.function.Consumer<net.minecraft.data.recipes.FinishedRecipe>, java.util.List<net.minecraft.world.level.ItemLike>, net.minecraft.data.recipes.RecipeCategory, net.minecraft.world.level.ItemLike, float, int, java.lang.String),oreBlasting(java.util.function.Consumer<net.minecraft.data.recipes.FinishedRecipe>, java.util.List<net.minecraft.world.level.ItemLike>, net.minecraft.data.recipes.RecipeCategory, net.minecraft.world.level.ItemLike, float, int, java.lang.String)anditemSmoking(java.util.function.Consumer<net.minecraft.data.recipes.FinishedRecipe>, java.util.List<net.minecraft.world.level.ItemLike>, net.minecraft.data.recipes.RecipeCategory, net.minecraft.world.level.ItemLike, float, int, java.lang.String). -
freezingRecipe
protected static void freezingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike result, net.minecraft.world.level.ItemLike ingredient, int resultAmount) The recipe for the freezer. -
gemPolishingRecipe
protected static void gemPolishingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike result, net.minecraft.world.level.ItemLike ingredient, int resultAmount) The recipe for the gem polishing. Takes anItemLikeas ingredient. -
gemPolishingRecipe
protected static void gemPolishingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike result, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> ingredient, String getHasName, int resultAmount) The recipe for the gem polishing. Takes aTagKeyas ingredient -
incubationRecipe
protected static void incubationRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike catalyzer, net.minecraft.world.level.ItemLike result, int count) The recipe for the Incubation. The recipe ID is the result id. -
incubationRecipe
protected static void incubationRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike catalyzer, net.minecraft.world.level.ItemLike result, int count, String id) The recipe for the Incubation. You can choose the ID. -
atomicalStabilizatorRecipe
protected static void atomicalStabilizatorRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike leftIngredient, net.minecraft.world.level.ItemLike rightIngredient, net.minecraft.world.level.ItemLike glueIngredient, net.minecraft.world.level.ItemLike result, int count) Recipe for the atomical stabilization -
mysteriousMagicRecipe
protected static void mysteriousMagicRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike primary, int primaryCount, net.minecraft.world.level.ItemLike left, int leftCount, net.minecraft.world.level.ItemLike right, int rightCount, net.minecraft.world.level.ItemLike up, int upCount, net.minecraft.world.level.ItemLike down, int downCount, net.minecraft.world.level.ItemLike result, int resultCount, int fuelAmount) Recipe for mysterious magic -
simpleStoneCutting
protected static void simpleStoneCutting(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.data.recipes.RecipeCategory pCategory, net.minecraft.world.level.ItemLike pResult, net.minecraft.world.level.ItemLike pMaterial, int pResultCount) Recipe for stone cutting -
inscriberRecipe
protected static void inscriberRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> middle, net.minecraft.world.level.ItemLike top, net.minecraft.world.level.ItemLike result, int count, appeng.recipes.handlers.InscriberProcessType mode) Recipe for inscriber. Takes aTagKeyasmiddleingredient. Has onlymiddleandtopingredients. You can choose the result's count. -
inscriberRecipe
protected static void inscriberRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike middle, net.minecraft.world.level.ItemLike top, net.minecraft.world.level.ItemLike result, int count, appeng.recipes.handlers.InscriberProcessType mode) Recipe for inscriber. TakesItemLikeeverywhere. Has onlymiddleandtopingredients. You can choose the result's count. -
inscriberRecipe
protected static void inscriberRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike middle, net.minecraft.world.level.ItemLike top, net.minecraft.world.level.ItemLike bottom, net.minecraft.world.level.ItemLike result, int count, appeng.recipes.handlers.InscriberProcessType mode) Recipe for inscriber. TakesItemLikeeverywhere. Has the three inputs. You can choose the result's count. -
inscriberRecipe
protected static void inscriberRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> finishedRecipeConsumer, net.minecraft.world.level.ItemLike middle, net.minecraft.world.level.ItemLike result, int count, appeng.recipes.handlers.InscriberProcessType mode) Recipe for inscriber. TakesItemLikeeverywhere. Has onlymiddleinput. You can choose result's count. -
fillingRecipe
protected static void fillingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, String fluid, int fluidAmount, net.minecraft.world.level.ItemLike result) Creates a recipe for filling : give 1 item and 1 fluid with his amount- Parameters:
ingredient- the ingredient you need to spout influid- the fluid you need to spoutfluidAmount- the amount neededresult- the result you get
-
potionFillingRecipe
protected static void potionFillingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, String potionName, int potionAmount, net.minecraft.world.level.ItemLike result) Fill a potion on an item- Parameters:
ingredient- the item you need to spout onpotionName- the potion name you needpotionAmount- the amount of potion neededresult- the result you get from this
-
crushingRecipe
protected static void crushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processingTime, int resultAmount) Crushing recipe- Parameters:
ingredient- the item to crushresult- the item you get from crushingprocessingTime- the time it takesresultAmount- the count of item you get
-
crushingRecipe
protected static void crushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processingTime) Crushing recipe. Result amount is 1.- Parameters:
ingredient- the item to crushresult- the item you get from crushingprocessingTime- the time it takes
-
crushingRecipe
protected static void crushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processingTime, int mainResultCount, int bonusResultCount, float bonusResultChance) -
crushingRecipe
protected static void crushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processingTime, int mainResultCount, float bonusResultChance) -
crushingRecipe
protected static void crushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processingTime, float bonusResultChance, int bonusResultCount) -
crushingRecipe
protected static void crushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processingTime, float bonusResultChance) -
crushingRecipe
protected static void crushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, float resultChance, int processingTime) -
crushingRecipe
protected static void crushingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, net.minecraft.world.level.ItemLike otherResult, int processingTime, float mainChance, float otherChance) -
hauntingRecipe
protected static void hauntingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result) -
pressingRecipe
protected static void pressingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result) -
deployingRecipe
protected static void deployingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike mainIngredient, net.minecraft.world.level.ItemLike deployIngredient, net.minecraft.world.level.ItemLike result) -
millingRecipe
protected static void millingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processTime, int amount, float chance) -
millingRecipe
protected static void millingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result, int processTime, int amount) -
simpleSmithing
protected static void simpleSmithing(Consumer<net.minecraft.data.recipes.FinishedRecipe> pFinishedRecipeConsumer, net.minecraft.world.level.ItemLike pTemplate, net.minecraft.world.level.ItemLike pIngredientItem, net.minecraft.world.level.ItemLike pAddition, net.minecraft.data.recipes.RecipeCategory pCategory, net.minecraft.world.level.ItemLike pResultItem) Recipe for smithing transform. -
getSequencePressing
protected static com.google.gson.JsonObject getSequencePressing(net.minecraft.world.level.ItemLike transitionalItem) -
getSequenceFilling
protected static com.google.gson.JsonObject getSequenceFilling(net.minecraft.world.level.ItemLike transitionalItem, String fluid, int amount) -
getSequenceFillingPotion
protected static com.google.gson.JsonObject getSequenceFillingPotion(net.minecraft.world.level.ItemLike transitionalItem, String potion, int amount) -
getSequenceDeploying
protected static com.google.gson.JsonObject getSequenceDeploying(net.minecraft.world.level.ItemLike transitionalItem, net.minecraft.world.level.ItemLike deployItem) -
getSequenceDeploying
protected static com.google.gson.JsonObject getSequenceDeploying(net.minecraft.world.level.ItemLike transitionalItem, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> deployItem)
-