Mineuniverse
Log in Register
Mods

Ritchie's Projectile Library

A Minecraft modding library for better projectiles.
by rbasamoyai
Download Claim this project
8,829,941 downloads
0 likes
Updated Jun 30, 2026
0 hypes

Ritchie's Projectile Library

Code reused in multiple projects by rbasamoyai.

Adds the following features:

  • #ritchiesprojectilelib:precise_motion: an entity type tag that sends more detailed movement and position data to clients.
  • A configurable chunkloading system oriented towards modded long-range and fast projectiles.
    • Unloads forceloaded chunks that are no longer in use
    • Loads a portion of forceloaded chunks at a time to reduce performance impact while still allowing for many long distance projectiles
  • Screen shake effect for mods, particularly those focused on firearms and artillery
  • Projectile bursts, for effective simulation of things like fragmentation explosions, shotgun pellets, and shrapnel shells without having to rely on large amounts of entities

Depending on RPL

First, add the following maven to your repositories block:

repositories {
    //...
    maven { // Ritchie's Projectile Library
        url = "https://maven.realrobotix.me/master/"
        content {
            includeGroup("com.rbasamoyai") // THIS IS IMPORTANT
        }
    }
}

RPL artefacts are formatted as follows:

ritchiesprojectilelib-<rpl_version>+mc.<minecraft_version>-<rpl_platform>-build.<rpl_build_number>

where rpl_version is the version of Ritchie's Projectile Library, minecraft_version is the Minecraft version, platform is the modloader platform, of which forge, fabric, and common JARs are provided, and build_number is the build number.

The latest build can be found in the GitHub actions history: https://github.com/Wagers-of-Industrial-Warfare/RitchiesProjectileLib/actions

Depending on your build.gradle setup, add one of the following to your dependencies block:

ForgeGradle (1.18.2-1.20.1)

implementation fg.deobf("com.rbasamoyai:ritchiesprojectilelib:<rpl_version>+mc.<minecraft_version>-forge-build.<rpl_build_number>") { transitive = false }

Loom (Fabric/Architectury)

modImplementation("com.rbasamoyai:ritchiesprojectilelib:<rpl_version>+mc.<minecraft_version>-<rpl_platform>-build.<rpl_build_number>") { transitive = false }

rpl_platform should either be common, forge, or fabric depending on the Architectury subproject you add the mod to. For Fabric, only use fabric.


Including RPL in your mod jar

To include RPL in your mod JAR, add the appropriate code to the dependencies block:

ForgeGradle (1.18.2-1.20.1)

jarJar("com.rbasamoyai:ritchiesprojectilelib:${rpl_version}+mc.${minecraft_version}-forge-build.${rpl_build_number}") {
    transitive = false
    jarJar.ranged(it, '[2.0.0,2.0.1)') // Change this based on rpl_version. jarJar.pin seems to not work.
}
// Same as the previous section
implementation fg.deobf("com.rbasamoyai:ritchiesprojectilelib:${rpl_version}+${minecraft_version}-forge") { transitive = false }

For more information on how to setup Jar-in-Jar in ForgeGradle, go to https://docs.minecraftforge.net/en/fg-5.x/dependencies/jarinjar/.

Loom (Fabric/Architectury)

// Change the previous section
modImplementation(include("com.rbasamoyai:ritchiesprojectilelib:${rpl_version}+mc.${minecraft_version}-${rpl_platform}-build.${rpl_build_number}")) { transitive = false }
Ritchie's Projectile Library v2.1.2 for NeoForge 1.21.1
MC 1.21.1, NeoForge
Release 2026-02-07 Get
Ritchie's Projectile Library v2.1.1 for NeoForge 1.21.1
MC 1.21.1, NeoForge
Release 2025-12-04 Get
Ritchie's Projectile Library v2.1.1 for Fabric 1.20.1
MC Fabric, 1.20.1, Quilt
Release 2025-12-04 Get
Ritchie's Projectile Library v2.1.1 for Forge 1.20.1
MC 1.20.1, Forge, NeoForge
Release 2025-12-04 Get
Ritchie's Projectile Library v2.1.0 for Forge 1.20.1
MC 1.20.1, Forge, NeoForge
Release 2025-06-04 Get
Ritchie's Projectile Library v2.1.0 for Fabric 1.20.1
MC Fabric, 1.20.1, Quilt
Release 2025-06-03 Get
Ritchie's Projectile Library v2.1.0 for NeoForge 1.21.1
MC NeoForge, 1.21.1
Release 2025-06-03 Get

More from rbasamoyai

Create Big Cannons
20,095,040
Ritchie's Betsy Ross
100,427

You Might Also Like

Fragmentum [NeoForge Edition]
The lightweight framework for the Obscuria Collection multi-loader mods
992,307
Iguana Lib
An iguana lib core for my mods.
992,164
Potentials
Library to allow mod developers to use cross platform capabilities
981,373
SDM Engine Core
The game engine in Minecraft!
980,484
Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527