Ranged Weapon API

🏹 Create fully functional bows and crossbows, with ease
Back to Files

4.0.0+26.2

File nameranged_weapon_api-fabric-4.0.0+26.2.jar
Uploader
daedelus_devdaedelus_dev
Uploaded
Sep 5, 2026
Downloads
4.2K
Size
153.6 KB
Mod Loaders
Fabric
File ID
8817434
Type
R
Release
Supported game versions
  • 26.2

Curse Maven Snippet

Fabric

modImplementation "curse.maven:ranged-weapon-api-962162:8817434"

Learn more about Curse Maven

What's new

4.0.0

Package and maven group reworked, no functional change.

  • Minecraft 26.2 support
  • Minecraft 26.1.2 support (Java 25).
  • Jars are no longer remapped: the shipped jar is the shaded platform jar
  • ranged_weapon:properties and the config-derived attribute modifiers now bind at resource reload (components are empty until the first reload)
  • Removed the assets/minecraft/items/bow.json override: vanilla's use_duration definition already animates custom pull times
  • Java package is now net.rpg_foundation.ranged_weapon (was net.fabric_extras.ranged_weapon)
  • Maven group is now net.rpg_foundation (was net.foundation), artifact ranged_weapon_api-<loader> unchanged
  • Mod id, resource namespaces and every ranged_weapon: attribute/effect/component/property id are unchanged
  • Migration: update imports and the Gradle coordinate
  • BREAKING: CustomBow/CustomCrossbow no longer take a repair ingredient supplier; repairability is the vanilla minecraft:repairable component (Item.Properties#repairable(tag))
  • Ranged weapon item models use the vanilla properties: bows minecraft:use_duration (scale 0.05, re-expressed against the item's real pull time), crossbows minecraft:crossbow/pull; ranged_weapon:pull is deprecated
  • Mobs now prefer the stronger ranged weapon when picking up a dropped one: a skeleton upgrades from its vanilla bow to a dropped custom bow, and no longer trades a custom bow away for a vanilla one. Candidates are ranked by ranged damage first, then by pull time (shorter wins). Applies to any weapon carrying ranged_weapon:properties, and only between weapons of the same kind — bow vs crossbow stays vanilla's call.
  • Fix potion and tipped arrow names on 1.21.11
  • Trimmed mob-AI injects that vanilla no longer reaches
  • Internal mixin cleanup: dead code removed, stale comments corrected, mixin-private members made @Unique, injector match counts pinned where a partial miss used to degrade silently, and the two ProjectileUtil mixins merged into one

This mod has no additional files