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

    Fields inherited from interface net.minecraft.data.DataProvider

    FIXED_ORDER_FIELDS, KEY_COMPARATOR, LOGGER
  • Constructor Summary

    Constructors
    Constructor
    Description
    ModRecipeProvider(net.minecraft.data.PackOutput pOutput)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    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
    protected void
    buildRecipes(Consumer<net.minecraft.data.recipes.FinishedRecipe> pWriter)
    Called method : it generates recipes.
    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
    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)
     
    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.
    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)
     
    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)
     
    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
    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)
     
    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)
     
    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)
     
    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)
     
    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
    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.
    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.
    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.
    protected static com.google.gson.JsonObject
    getSequenceDeploying(net.minecraft.world.level.ItemLike transitionalItem, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> deployItem)
     
    protected static com.google.gson.JsonObject
    getSequenceDeploying(net.minecraft.world.level.ItemLike transitionalItem, net.minecraft.world.level.ItemLike deployItem)
     
    protected static com.google.gson.JsonObject
    getSequenceFilling(net.minecraft.world.level.ItemLike transitionalItem, String fluid, int amount)
     
    protected static com.google.gson.JsonObject
    getSequenceFillingPotion(net.minecraft.world.level.ItemLike transitionalItem, String potion, int amount)
     
    protected static com.google.gson.JsonObject
    getSequencePressing(net.minecraft.world.level.ItemLike transitionalItem)
     
    protected static void
    hauntingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result)
     
    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.
    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.
    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.
    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.
    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.
    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.
    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
    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)
     
    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)
     
    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
    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
    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)
    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
    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
    protected static void
    pressingRecipe(Consumer<net.minecraft.data.recipes.FinishedRecipe> consumer, net.minecraft.world.level.ItemLike ingredient, net.minecraft.world.level.ItemLike result)
     
    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.
    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.
    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
    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.
    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.
    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
    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
    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.
    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.
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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
    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.
    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.
    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
    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
    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.

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      protected void buildRecipes(Consumer<net.minecraft.data.recipes.FinishedRecipe> pWriter)
      Called method : it generates recipes.
      Specified by:
      buildRecipes in class net.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 consumer
      headResult - the result
      ingredient1 - the main ingredient
      ingredient2 - 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 consumer
      resultDisc - the result
      discIngredient - 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 consumer
      resultDisc - the result
      discIngredient - the ingredient
      discAddition - 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 consumer
      catalyzerResult - the catalizer you want to craft
      base - the base of the catalizer
      surround - 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)
    • 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 an ItemLike as 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 a TagKey as 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 a TagKey as middle ingredient. Has only middle and top ingredients. 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. Takes ItemLike everywhere. Has only middle and top ingredients. 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. Takes ItemLike everywhere. 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. Takes ItemLike everywhere. Has only middle input. 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 in
      fluid - the fluid you need to spout
      fluidAmount - the amount needed
      result - 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 on
      potionName - the potion name you need
      potionAmount - the amount of potion needed
      result - 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 crush
      result - the item you get from crushing
      processingTime - the time it takes
      resultAmount - 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 crush
      result - the item you get from crushing
      processingTime - 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)