You are viewing the docs for an older version. View Latest Docs (26.1)

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
type✓The recipe type must be mysticalagriculture:reprocessor.
input✓The item that will be placed in the input slot.
result✓The item that this recipe will output once finished.

Example File

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

CraftTweaker

Mystical Agriculture allows you easily add your own Reprocessor Crafting recipes using CraftTweaker.

Note

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
name✓A unique name for this recipe. Must be all lower case and have no spaces.
output✓The output item for this recipe.
input✓The 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
output✓The item to remove all recipes for.