Compression Recipes

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


  • 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 Compressor recipe. Syntax can be inferred from the example json below.

typeThe recipe type must be extendedcrafting:compressor.
powerCostThe amount of power required to craft this recipe.
powerRateThe amount of power consumed per tick. If omitted will default to the config value.
ingredientThe input item.
inputCountThe amount of the input item required.
catalystThe catalyst item. This item does not get consumed.
resultThe item that this recipe will output once finished.

Example File

  "type": "extendedcrafting:compressor",
  "powerCost": 500000,
  "inputCount": 10000,
  "ingredient": {
    "item": "minecraft:carrot"
  "catalyst": {
    "item": "extendedcrafting:ender_catalyst"
  "result": {
    "item": "minecraft:cobblestone"


Extended Crafting comes with CraftTweaker support built-in. You can make use of CraftTweaker to easily manage Compression Crafting recipes.

Recipe Manager Support

As of version 6.0.3, CraftTweaker integration now supports Recipe Managers! Access all applicable methods using <recipetype:extendedcrafting:compressor>!

Adding a Recipe

mods.extendedcrafting.CompressionCrafting.addRecipe(name, <input>, <output>, inputCount, <catalyst>, powerCost);    
mods.extendedcrafting.CompressionCrafting.addRecipe(name, <input>, <output>, inputCount, <catalyst>, powerCost, powerRate);
nameA unique name for this recipe. Must be all lower case and have no spaces.
inputThe output item for this recipe.
inputCountThe amount of the input item that is required.
catalystThe input item.
inputCountThe amount of the input item required.
catalystThe item that is required as a catalyst. This does not get consumed and goes in the small slot to the left.
powerCostThe amount of FE required to complete the crafting stage of compression.
powerRateThe rate the recipe should consume FE during the crafting stage. If this parameter isn't added, it will use the default rate defined in the config file.

powerCost / powerRate = the amount of ticks required in the crafting stage.


mods.extendedcrafting.CompressionCrafting.addRecipe("test", <tag:forge:ingots/iron>, <item:minecraft:apple>, 50000, <tag:forge:ingots/gold>, 2000000, 200);

Removing Recipes

outputThe item to remove all recipes for.