Skip to content

Kube JS

SammySemicolon edited this page Nov 23, 2025 · 2 revisions

Hello!! KubeJS Compat!!!

ServerEvents.recipes(event => {
  event.recipes.malum.spirit_infusion(
    "2x salmon", //Input
    "4x cod", //Result
    ["2x arcane", "4x aqueous"], //Spirits
    ["2x cod"] //Additional Inputs, Defaults to []
  )

  event.recipes.malum.spirit_focusing(
    "malum:alchemical_impetus", //Input
    "4x cod", //Result
    ["4x aqueous", "4x eldritch"], //Spirits
    300, //Time
    4 //Durability Cost
  )

  event.recipes.malum.runeworking(
    "4x salmon", //Input
    "4x tropical_fish", //Secondary Input
    "4x cod", //Result
    "entity.cod.flop" //Sound Type, Defaults to "runic_workbench_shapes_something"
  )

  event.recipes.malum.void_favor(
    "salmon", //Input
    "cod" //Result
  )

  event.recipes.malum.unchained_transmutation(
    "salmon", //Input
    "cod", //Result
    "soulwood_transmutation" //Group, Defaults to ""
  )

  event.recipes.malum.soulbinding(
    "4x cod", //Input
    "malum:creed_of_the_blight_eater", //Geas
    ["4x aqueous", "4x infernal"], //Spirits
    ["2x tropical_fish", "2x salmon", "2x pufferfish"] //Additional Inputs, Defaults to []
  )
  event.recipes.malum.spirit_repair(
    ["malum:catalyst_lobber"], //Valid Items
    ["4x aqueous", "4x infernal"], //Spirits
    "2x cod", //Repair Material
    0.01, //Repair Fraction, Defaults to 0.5
    "#minecraft:fishes" //Tag Based Regex
    //"malum:soulstained_.+" //Mod Name and Item Name Regex
    //"soulstained_.+" //Item Name Regex
    //Innately, Regex defaults to ""
    //If you need a more complex set of regex values, use the JsonObject format below
    //{
    //  "modIdRegex": "",
    //  "itemIdRegex": "",
    //  "tagRegex": ""
    //}
  )
})```

Clone this wiki locally