Back to mods
RangedJS: KubeJS Addon project artwork

CurseForge · Minecraft mod

RangedJS: KubeJS Addon

A KubeJS addon for creating custom bows/crossbows and other ranged weapons.

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

Quick answer

Which RangedJS: KubeJS Addon release matches Fabric?

Updated 6 months ago
Best match for your filters rangedjs-1.2.5-fabric.jar
Game version 1.20.1
Loader Fabric

RangedJS: KubeJS Addon rangedjs-1.2.5-fabric.jar targets 1.20.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 4 required mods have matching files.

Where it goes

Is RangedJS: KubeJS Addon 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 Fabric
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 RangedJS: KubeJS Addon rangedjs-1.2.5-fabric.jar need?

rangedjs-1.2.5-fabric.jar on Fabric. Every mod below is checked against that same setup.

All 4 required mods have matching files

Install KubeJS, Architectury API, Rhino, Fabric API first. We found matching files for this game-version and loader setup. 3 come through another mod in the chain.

2 listed on this file 3 pulled in by those mods
KubeJS Needed by RangedJS: KubeJS Addon rangedjs-1.2.5-fabric.jar
required
Matching file found Matched file: KubeJS Fabric 2001.6.5-build.26
Archery Expansion Optional for RangedJS: KubeJS Addon rangedjs-1.2.5-fabric.jar
optional
Matching file found Matched file: Archery Expansion (Fabric) - 1.0.7.3 - 1.20.1
Architectury API Needed by KubeJS
pulled in
Matching file found Matched file: [Fabric 1.20(.1)] v9.2.14
Rhino Needed by KubeJS
pulled in
Matching file found Matched file: Rhino Fabric 2001.2.3-build.10
Fabric API Needed by KubeJS
pulled in
Matching file found Matched file: [1.20.1] Fabric API 0.92.12+1.20.1

3 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 RangedJS: KubeJS Addon without breaking your instance.

Built for RangedJS: KubeJS Addon rangedjs-1.2.5-fabric.jar on Fabric. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use rangedjs-1.2.5-fabric.jar. It targets 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install KubeJS, Architectury API, Rhino, Fabric API first. We found matching files for this game-version and loader setup. 3 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 rangedjs-1.2.5-fabric.jar. It opens that exact file at the source.

About this project

What does RangedJS: KubeJS Addon add?

A KubeJS addon for pack dev to easily create custom bows and modify existing bows/crossbows.

  • Note: Skeletons do not natively use custom bows; you may check another mod "Skeleton Uses Custom Bow" for that feature.
  • Note: Pillagers can use custom crossbow by default, but piglins can't; you may install "Piglin Hunt Fix" for that feature.

Example codes can be found on the wiki page.

You can also create vanilla-like bow model with client script:

ClientEvents.highPriorityAssets(event => {
    event.easyBowModel("kubejs:bow_golden")
})

You just need to put texture pictures in kuebjs/assets/kubejs/textures/item/ The texture file names should be bow_golden.png, bow_golden_pulling_0.png, bow_golden_pulling_1.png, bow_golden_pulling_2.png

You can also modify existing bows with ItemEvents.modification like this:

ItemEvents.modification(event => {
    const $BowItem = Java.loadClass("net.minecraft.world.item.BowItem")
    event.modify("minecraft:bow", item => {if(item instanceof $BowItem){
        item.bow(bow => {
            bow
            .onArrowHit(arrow => {arrow.hitBlock(event => {
                event.arrow.block.createEntity("lightning_bolt").spawn()
            })})
            .modifyBow(attributes => {
                attributes.fullChargeTick(15).baseDamage(6)
            })
        })
    }})
})

This mod also supports Archery Expansion. You may create a bow with archery expansion properties if the mod is also installed.

    event.create("kjsaexpbow", "bow").bow(bow => {
        bow.AExpBow(aexp => {
            aexp.archeryexp$setWalkSpeed(1) //Please use ProbeJS to get usable methods
        })
    })

Project description from CurseForge.

Pick your setup

RangedJS: KubeJS Addon by Minecraft version and loader

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

3 available setups

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

Recent files

RangedJS: KubeJS Addon versions and loaders

8 of 40 releases match
Clear filters

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