HomeJavaModsKubeJS Blood Magic
KubeJS Blood Magic
ModsJava

KubeJS Blood Magic

by Lat · on CurseForge

⬇ Download on CurseForge

The author built this one for Minecraft 1.18.2 on Forge. On other versions it may install and then do nothing.

Allows KubeJS to edit and create Blood Magic recipes. See Recipes page for more info.

Supported recipe types:

- altar

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

- array

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

- soulforge

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

- 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)

- alchemytable

 

event.recipes.bloodmagic.alchemytable(output, [input])

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

 

Example kubejs/server_scripts/blood_magic.js:

 

onEvent('recipes', event => {

  const { altar, array, soulforge, arc, alchemytable } = event.recipes.bloodmagic

  

  altar('minecraft:carrot', 'minecraft:apple')

  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)

  arc('minecraft:netherite_ingot', 'minecraft:iron_ingot', 'minecraft:iron_pickaxe', [Item.of('minecraft:cobblestone').chance(0.4)])

  alchemytable('minecraft:gold_ingot', ['minecraft:iron_ingot', 'minecraft:iron_ingot', 'minecraft:iron_ingot', 'minecraft:iron_ingot']).upgradeLevel(2)

})

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more