promotional bannermobile promotional banner

Forbidden Arcanus JS

Forbidden and Arcanus kubejs Compatibility
Back to Files

forbidden_arcanus_js-2001.1.0.jar

File nameforbidden_arcanus_js-2001.1.0.jar
Uploader
chen_1335chen_1335
Uploaded
Feb 15, 2026
Downloads
272
Size
61.8 KB
Mod Loaders
Forge
File ID
7628797
Type
B
Beta
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:forbidden-arcanus-js-1346176:7628797")

Learn more about Curse Maven

What's new

Due to significant code changes, this version may not be very stable

Slightly different from the use of 1.21.1

here is a simple example:

ServerEvents.recipes(event => {
    event.recipes.forbidden_arcanus.ritual(RitualResults.ofCreateItemResult("diamond"), "dirt")
        .addInput("iron_ingot", 1)
        .essences(1, 1, 1, 1)
        .tier(1)
        .enhancers("forbidden_arcanus:divine_pact", "forbidden_arcanus:artisan_relic", "forbidden_arcanus:crimson_stone")

    event.recipes.forbidden_arcanus.ritual(RitualResults.ofTransmuteInputResult("netherite_sword"), "diamond_sword")
        .addInput("iron_ingot", 1)
        .tier(1)

    event.recipes.forbidden_arcanus.clibano_combustion("diamond")
        .input("stone")
        // the residue name and the chance
        .residue("stone",0.5)
    //clibano combustion residues
    //Let me briefly introduce the combination residues:
    //The first parameter of this formula is the name of this residue
    //The second parameter of this formula is the total demand for this residue
    //The third parameter of this formula is the output of this residue
    //When a cliban_combustment recipe is completed, the probability in .residue ("stone", 0.5) is used to add a count to the target's residue. When the total count exceeds the requirement in .combine_residue("stone", 9, "grass"), an item is produced
    event.recipes.forbidden_arcanus.combine_residues("stone",9,"grass")
})

This mod has no additional files