Soulium Spawner Recipes

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

FieldRequiredDescription
typeThe recipe type must be mysticalagriculture:soulium_spawner.
inputThe item that will be placed in the input slot with an optional count of how many items are required per spawn. Max 512.
entitiesA weighted list of entities to spawn. Each entity is listed as an object with an entity field, which takes an entity ID, and an optional weight field, which specifies the spawn weight relative to all other entries.

Example File

{
  "type": "mysticalagriculture:soulium_spawner",
  "input": {
    "ingredient": "mysticalagriculture:zombie_essence",
    "count": 16
  },
  "entities": [
    {
      "entity": "minecraft:zombie",
      "weight": 19
    },
    {
      "entity": "minecraft:zombie_villager",
      "weight": 1
    }
  ]
}