Back to mods
SlashBlade JS project artwork

CurseForge · Minecraft mod

SlashBlade JS

An mod that facilitates developers in editing and creating recipes for Slashblade: Resharped using KubeJS scripts, along with utilizing its events.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which SlashBlade JS release should I use?

Updated 6 months ago
Latest stable file SlashBladeJS-1.20.1-1.1.5.jar
Game version 1.20.1
Loader Forge

SlashBlade JS SlashBladeJS-1.20.1-1.1.5.jar targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 7 required mods have matching files.

Where it goes

Is SlashBlade JS required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does SlashBlade JS SlashBladeJS-1.20.1-1.1.5.jar need?

SlashBladeJS-1.20.1-1.1.5.jar. Change the file and its required mods may change too.

All 7 required mods have matching files

Install mrqx`s Slashblade Core, SlashBlade: Resharped, KubeJS, mrqx`s Slashblade Core and 3 more first. We found matching files for this game-version and loader setup. 10 come through another mod in the chain.

4 listed on this file 10 pulled in by those mods
mrqx`s Slashblade Core Needed by SlashBlade JS SlashBladeJS-1.20.1-1.1.5.jar
required
Matching file found Matched file: mrqxs_Slashblade_Core-1.20.1-1.4.1.jar
SlashBlade: Resharped Needed by SlashBlade JS SlashBladeJS-1.20.1-1.1.5.jar
required
Matching file found Matched file: [1.20.1] SlashBlade:Resharped - 1.9.65
KubeJS Needed by SlashBlade JS SlashBladeJS-1.20.1-1.1.5.jar
required
Matching file found Matched file: KubeJS Forge 2001.6.5-build.26
mrqx`s Slashblade Core Needed by SlashBlade JS SlashBladeJS-1.20.1-1.1.5.jar
required
Matching file found Matched file: 1.4.1
playerAnimator Needed by mrqx`s Slashblade Core
pulled in
Matching file found Matched file: player-animation-lib-forge-1.0.2-rc1+1.20.jar
Just Enough Items (JEI) Needed by SlashBlade: Resharped
pulled in
Matching file found Matched file: 15.75.0.238 for Forge 1.20.1
The Twilight Forest Needed by SlashBlade: Resharped
pulled in
Matching file found Matched file: Twilight Forest - MC 1.20.1 - 4.3.2508
Rhino Needed by KubeJS
pulled in
Matching file found Matched file: Rhino Forge 2001.2.3-build.10
Architectury API Needed by KubeJS
pulled in
Matching file found Matched file: [Forge 1.20(.1)] v9.2.14
bendy-lib Needed by playerAnimator
pulled in
Matching file found Matched file: bendy-lib-forge-4.0.0.jar
MezzConfigGUI Needed by Just Enough Items (JEI)
pulled in
Matching file found Matched file: MezzConfig GUI mc1.20.1-0.7.2 for Forge
MezzConfig Needed by Just Enough Items (JEI)
pulled in
Matching file found Matched file: MezzConfig 0.7.1 for Forge 1.20.1
playerAnimator Needed by SlashBlade:Resharped
pulled in
Matching file found Matched file: 1.0.2-rc1+1.20-forge

10 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add SlashBlade JS without breaking your instance.

Built for SlashBlade JS SlashBladeJS-1.20.1-1.1.5.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use SlashBladeJS-1.20.1-1.1.5.jar. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install mrqx`s Slashblade Core, SlashBlade: Resharped, KubeJS, mrqx`s Slashblade Core and 3 more first. We found matching files for this game-version and loader setup. 10 come through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside SlashBladeJS-1.20.1-1.1.5.jar. It opens that exact file at the source.

About this project

What does SlashBlade JS add?

Slashblade JS

An mod that facilitates developers in editing and creating recipes for Slashblade: Resharped using KubeJS scripts, along with utilizing its events.

What Can It Do?

Here's a ready-to-use example:

// priority: 0

/* Server Side */

// When Slashblade checks power state: If not powered, consume 10 ProudSoul to enter charged state
SlashBladeJSEvents.powerBlade(event => {
    let state = BladeState.of(event.blade)
    let proudsoul = state.proudSoulCount
    if (!event.isPowered() && proudsoul >= 10) {
        state.setProudSoulCount(proudsoul - 10)
        event.setPowered(true)
    }
    event.user.tell("ProudSoul: " + proudsoul) // Notify player of current ProudSoul value
})

// A custom Slashblade recipe
ServerEvents.recipes(event => {
    event.recipes.slashblade.slashblade_shaped_recipe("slashblade:slashblade", [
        "ABA",
        "CSC",
        "ABC"
    ], {
        "S": SlashBladeIngredient.of(
            SlashBladeRequestDefinition.name("slashblade:fox_black") // Required base blade
                .killCount(233) // Kill count requirement
                .proudSoul(114514) // ProudSoul requirement
                .refineCount(10) // Refinement count requirement
                .addEnchantment(SBEnchantmentDefinition.of("minecraft:power", 2)) // Enchantment requirement
                .build() // Don't forget to .build()
        ),
        "A": "minecraft:golden_apple", // Other materials (like vanilla recipes)
        "B": "#forge:bones",
        "C": "minecraft:cake",
    }, "slashblade:fox_white"/* Resulting blade ID */)
})

// Create your custom blade
ServerEvents.highPriorityData(event => {
    let customBlade = SBSlashBladeDefinition.of("kubejs:test_blade", // Your blade ID
        SBRenderDefinition.newInstance() // Render properties
            .effectColor(2039347) // Blade effect color (hex RGB to decimal)
            .standbyRenderType(SBCarryType.DEFAULT) // Sheathed position
            .modelName("kubejs:model/named/test_blade.obj") // Path: ./kubejs/assets/kubejs/model/named/test_blade.obj
            .textureName("kubejs:model/named/test_blade.png") // Path: ./kubejs/assets/kubejs/model/named/test_blade.png
            .build(), // Don't forget to .build()
        SBPropertiesDefinition.newInstance()
            .maxDamage(666) // Max durability
            .baseAttackModifier(999) // Base attack damage
            .slashArtsType("slashblade:void_slash") // Set special attack
            .addSpecialEffect("slashblade:wither_edge") // Add special effect
            .defaultSwordType([SBSwordType.FIERCEREDGE, SBSwordType.BEWITCHED]) // Set blade types
            .build(), // Don't forget to .build()
        [ // Default enchantments
            SBEnchantmentDefinition.of("minecraft:power", 5),
            SBEnchantmentDefinition.of("minecraft:unbreaking", 10)
        ]
    )

    // Register to game
    event.addJson("kubejs:slashblade/named_blades/test_blade.json", SBSlashBladeDefinition.toJSON(customBlade))
})

License

This mod is open-source under the GPL v3.0 License.

You may include it in your modpacks/servers as long as you comply with the license terms.

Project description from CurseForge.

Pick your setup

SlashBlade JS by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

SlashBlade JS versions and loaders

7 of 7 releases match

Looking for an older file? The official CurseForge project page is in Resources.