Reprocessor Recipes

Mystical Agriculture allows you easily add your own Seed Reprocessor recipes using both Datapacks and CraftTweaker.

Datapacks

Prerequisites
  • You can learn more about using vanilla datapacks here.
  • You can learn more about creating recipe JSON files here.

The Recipe File

This section will go over the values available to use in a Seed Reprocessor recipe. Syntax can be inferred from the example json below.

FieldRequiredDescription
typeThe recipe type must be mysticalagriculture:reprocessor.
inputThe item that will be placed in the input slot.
resultThe item that this recipe will output once finished.

Example File

{
  "type": "mysticalagriculture:reprocessor",
  "input": {
    "item": "minecraft:apple"
  },
  "result": {
    "item": "minecraft:potato"
  }
}

CraftTweaker

As of version 3.0.8, Mystical Agriculture allows you easily add your own Reprocessor Crafting recipes using CraftTweaker. Here's how you do it.

Note

As of version 7.0.4, CraftTweaker integration now supports Recipe Managers! Access all applicable methods using <recipetype:mysticalagriculture:reprocessor>!

Adding a recipe

mods.mysticalagriculture.ReprocessorCrafting.addRecipe(name, <output>, <input>);
FieldRequiredDescription
nameA unique name for this recipe. Must be all lower case and have no spaces.
outputThe output item for this recipe.
inputThe item that is required to make the output.

Example

mods.mysticalagriculture.ReprocessorCrafting.addRecipe("test_reprocessor", <item:minecraft:apple>, <tag:items:forge:ingots/iron>);

Removing Recipes

mods.mysticalagriculture.ReprocessorCrafting.remove(<output>);
FieldRequiredDescription
outputThe item to remove all recipes for.