Farmer Recipes

Mystical Automation allows you to easily add your own Farmer 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 Farmer recipe. Syntax can be inferred from the example JSON below.

FieldRequiredDescription
typeThe recipe type must be mysticalautomation:farmer.
seedsThe item that will be placed in the Seed slot.
soilThe item that will be placed in the Soil slot.
cruxThe item that will be placed in the Crux slot.
stagesThe amount of growth stages required for this recipe.
resultsThe potential result items including their item and chance of dropping.

Example File

{
  "type": "mysticalautomation:farmer",
  "seeds": "minecraft:carrot",
  "soil": "minecraft:farmland",
  "stages": 7,
  "results": [
    {
      "item": {
        "id": "minecraft:carrot",
        "count": 2
      },
      "chance": 1.0
    },
    {
      "item": {
        "id": "minecraft:carrot",
        "count": 1
      },
      "chance": 0.5
    }
  ]
}