Download KubeJS Ars Nouveau — Minecraft Mods — MetaMods

KubeJS Ars Nouveau

Active

Downloads

3

Last update

2 years ago

Versions

1.19.2
Client and server
Forge
Neoforge
Libraries
Magic

KubeJS Ars Nouveau - Integration with Magic System

This addon provides the ability to create custom recipes for the Ars Nouveau mod using KubeJS. You can configure various magical processes and create your own spells through a convenient JavaScript API.

Main Features

The mod allows working with several types of magical recipes:

  • Enchanting Apparatus - creating items using reagents and magical energy consumption
  • Enchantment - applying enchantments to items with specified level and cost
  • Crushing - destroying blocks with loot obtained according to a specified drop table
  • Spell Tome Creation - developing your own magical books with unique effects
  • Imbuement - transforming items using additional components

Usage Examples

ServerEvents.recipes(event => {
    // Creating TNT from sand and gunpowder
    event.recipes.ars_nouveau.enchanting_apparatus(
        [
            "minecraft:sand",
            "minecraft:sand",
            "minecraft:sand",
            "minecraft:sand",
        ], // input items
        "minecraft:gunpowder", // reagent
        "minecraft:tnt", // output
        1000, // source cost
    );

    // Enchanting item with Vanishing Curse
    event.recipes.ars_nouveau.enchantment(
        [
            "minecraft:sand",
            "minecraft:sand",
            "minecraft:sand",
            "minecraft:sand",
        ], // input items
        "minecraft:vanishing_curse", // applied enchantment
        1, // enchantment level
        1000, // source cost
    );

    // Crushing TNT to get sand
    event.recipes.ars_nouveau.crush(
        "minecraft:tnt", // input block
        [{
            item: "minecraft:sand",
            chance: 1
        }] // loot table
    );

    // Creating spell tome "Not-Glow Trap"
    event.recipes.ars_nouveau.caster_tome(
        "Not-Glow Trap", // name,
        [
            "ars_nouveau:glyph_touch",
            "ars_nouveau:glyph_rune",
            "ars_nouveau:glyph_snare",
            "ars_nouveau:glyph_extend_time",
            "ars_nouveau:glyph_light"
        ], // spell sequence
        "Doesn't snare the target and grant other targets Glowing.", // description
        16718260, // color
        {
            "family": "ars_nouveau:default",
            "pitch": 1.0,
            "volume": 1.0
        },
    ).id("kubejs:not_glow")

    // Imbuing sand to create TNT
    event.recipes.ars_nouveau.imbuement(
        "minecraft:sand", // input item
        "minecraft:tnt", // output
        1000, // source cost
        [
            "minecraft:gunpowder"
        ] // pedestal items
    )
})

Important Note

This addon requires the Ars Nouveau mod to be installed. Without it, the integration will not function correctly.

Project members
MasterOfBob777

MasterOfBob777

Developer

BobVarioa

BobVarioa

Created: 18 Mar 2023

ID: 10614