Skip to content

RangedJS

A kubejs addon to add/modify bows and crossbows

FabricNeoForgeForge
Loaders
FabricNeoForgeForge
Downloads on Modrinth
1.5K
Followers on Modrinth
1
versions
7
Updated
May 15, 2026May 15
Published
in 2026

At a glance

Runs on Fabric, NeoForge and Forge
For Minecraft 1.20.1–1.20.6, 1.21.1
Needed in the game and on the server
Latest version — 1.2.5-forge from May 15, 2026
License GPL-3.0-or-later — free
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions1.20.1–1.20.6, 1.21.1

A KubeJS addon for pack dev to easily create custom bows and modify existing bows/crossbows. Please feel free to request modded ranged weapon support in comments.

Update August 6th 2025 - Add compat with Archery Expansion.

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)
            })
        })
    }})
})

FAQ

How to install RangedJS?

Install Fabric for your Minecraft version, download RangedJS for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does RangedJS support?

RangedJS has builds for Minecraft 1.20.1–1.20.6, 1.21.1.

Is RangedJS needed on the server?

Needed in the game and on the server

License and source
GNU General Public License v3.0 or laterfree to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More