Blood Magic


Edit and create Blood Magic recipes. See the Recipes page for more info.

#Supported Recipe Types

#Alchemy Table

event.recipes.bloodmagic.alchemytable(output, input[])
event.recipes.bloodmagic.alchemytable(output, input[]).syphon(int).ticks(int).upgradeLevel(int)

#Altar

event.recipes.bloodmagic.altar(output, input)
event.recipes.bloodmagic.altar(output, input).upgradeLevel(int).altarSyphon(int).consumptionRate(int).drainRate(int)

#Arc

event.recipes.bloodmagic.arc(output, input, tool)
event.recipes.bloodmagic.arc(output, input, tool, addedOutput[])
event.recipes.bloodmagic.arc(output, input, tool, addedOutput[]).consumeIngredient(boolean).outputFluid(fluid)

#Array

event.recipes.bloodmagic.array(output, baseInput, addedInput)
event.recipes.bloodmagic.array(output, baseInput, addedInput).texture(string)

#Soul Forge

event.recipes.bloodmagic.soulforge(output, input[])
event.recipes.bloodmagic.soulforge(output, input[]).minimumDrain(double).drain(double)

#Example Script

onEvent('recipes', event => {
  const { altar, array, soulforge, arc, alchemytable } = event.recipes.bloodmagic
  alchemytable('minecraft:gold_ingot', ['minecraft:iron_ingot', 'minecraft:iron_ingot', 'minecraft:iron_ingot', 'minecraft:iron_ingot']).upgradeLevel(2)
  altar('minecraft:carrot', 'minecraft:apple')
  arc('minecraft:netherite_ingot', 'minecraft:iron_ingot', 'minecraft:iron_pickaxe', [Item.of('minecraft:cobblestone').withChance(0.4)])
  array('minecraft:spruce_planks', 'minecraft:oak_planks', 'minecraft:birch_planks')
  soulforge('minecraft:stone', ['minecraft:gold_ore', 'minecraft:diamond_ore', 'minecraft:iron_ore']).drain(1.0)
})