Skip to content

Biomancy 2 Recipes

Elenterius edited this page Aug 18, 2023 · 13 revisions

Minecraft Ingredient Object

Item

{
    "item": "minecraft:golden_carrot"
}

Tag

{
    "tag": "forge:eggs"
}

Digester

type biomancy:decomposing
input 1 ingredient
output 1 item

Structure

  • count is optional
{
  "type": "biomancy:digesting",
  "ingredient": <object (minecraft ingredient)>,
  "result": {
    "count": <int>,
    "item": <string (registry-key)>
  },
  "time": <int (ticks)>
}

Example

{
  "type": "biomancy:digesting",
  "ingredient": {
    "tag": "forge:seeds"
  },
  "result": {
    "item": "biomancy:nutrient_paste"
  },
  "time": 220
}

Decomposer

type biomancy:decomposing
input 1 ingredient
output max 6 items

Structure

{
  "type": "biomancy:decomposing",
  "input": {
    "ingredient": <object (minecraft ingredient)>
  },
  "outputs": [
    {
      "result": {
        "count_range": <object (count range)>,
        "item": <string (registry-key)>
      }
    }
  ],
  "time": <int (ticks)>
}

Example

{
  "type": "biomancy:decomposing",
  "input": {
    "count": 1,
    "ingredient": {
      "item": "minecraft:chicken"
    }
  },
  "outputs": [
    {
      "result": {
        "count_range": {
          "type": "constant",
          "value": 4
        },
        "item": "biomancy:flesh_bits"
      }
    },
    {
      "result": {
        "count_range": {
          "type": "uniform",
          "max": 4,
          "min": 2
        },
        "item": "biomancy:bone_fragments"
      }
    },
    {
      "result": {
        "count_range": {
          "type": "binomial",
          "n": 5,
          "p": 0.75
        },
        "item": "biomancy:elastic_fibers"
      }
    }
  ],
  "time": 202
}

Count Range Types

Constant

"type": "constant",
"value": <int>

Uniform Distribution

  • min and max values are inclusive
"type": "uniform",
"min": <int>,
"max": <int>

Binomial Distribution

"type": "binomial",
"n": <int>,
"p": <float>