Ranged Weapon API Mod Guide
About the Ranged Weapon API Mod
The Ranged Weapon API Mod is a developer-focused library built on the Fabric API. It is not a content mod on its own, so it does not add new bows or crossbows for players to find or craft. Instead, it gives mod developers the tools to create their own ranged weapons more easily.
What It Provides
Using this API, developers can create custom bows and crossbows with configurable weapon properties. These include damage, cooldown time, and optionally projectile flight speed. The API also handles automatic registration of item model predicates, matching vanilla model predicates so weapons display and behave consistently.
Rendering and Gameplay Details
The API takes care of correct first-person and third-person rendering, along with proper FOV adjustments when aiming or charging. Because it is loaded on demand, it only activates when a mod that depends on it is present.
Who It Is For
This mod is intended for mod authors rather than regular players. If you are not developing a mod that uses it, installing it alone will not change your game.