Compression Recipes

Extended Crafting allows you to easily add your own Compressor recipes using Datapacks.

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

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

The amount of time (in ticks) a Compression recipe takes to complete is power_cost / power_rate.

Example File

{
  "type": "extendedcrafting:compressor",
  "power_cost": 500000,
  "ingredient": {
    "ingredient": "minecraft:carrot",
    "count": 10000
  },
  "catalyst": "extendedcrafting:ender_catalyst",
  "result": {
    "id": "minecraft:cobblestone"
  }
}