Mutation Recipe

todo: move this to a separate recipes category

Mutations utilize the recipe system to make them more data pack friendly. One benefit of using the recipe system is that a mutation can be created once and shared among many different bees.

Template:
{
  "type": "resourcefulbees:mutation",
  "mutations" : [
    {
      "input": {
        "type": "block",
        "block": {
          "id": "minecraft:stone"
        },
        "chance": 0.5
      },
      "outputs" : [
        {
          "type": "block",
          "block": {
            "id": "minecraft:end_stone"
          }
        }
      ]
    }
  ]
}

Recipe Type


Every recipe JSON is required to have a type. For mutations the type is resourcefulbees:mutation

{
    "type": "resourcefulbees:mutation",
    ...
}

Customization Options


input

The item/block/fluid/entity being transformed.


Name: Mutation Input

Key: input

Type: MutationType

Default: This value is required or the recipe won't load!

Example
"input": {
  "type": "block",
  "block": {
    "id": "minecraft:stone"
  },
  "chance": 0.5
}

outputs

A list of possible transformation results, which can be an item, block, fluid, or entity.


Name: Mutation Outputs

Key: outputs

Type: MutationType[]

Default: This value is required or the recipe won't load!

Example
"outputs" : [
  {
    "type": "block",
    "block": {
      "id": "minecraft:end_stone"
    }
  }
]

Last updated