-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started.md
gawrmonster edited this page Jul 22, 2026
·
1 revision
If you're developing a mod that uses CustomHitboxLib:
- Download the JAR from Modrinth or CurseForge
- Place it in your
mods/folder alongside Forge 1.20.1 - Add it as a dependency in your
build.gradle:
repositories {
maven { url = "https://modrinth.com/maven" }
}
dependencies {
implementation fg.deobf("com.gawrmonster:customhitboxlib:1.0.0")
}If you just want to add custom hitboxes to existing entities:
- Download the JAR from Modrinth or CurseForge
- Place it in your
mods/folder (both client and server need it) - Create a datapack -- see Datapack Guide
- Drop the datapack in your world's
datapacks/folder - Run
/reload
CustomHitboxLib must be installed on both client and server:
- Server side handles collision detection, pathfinding, rotation safety, and entity logic
- Client side handles rendering wireframe hitboxes and crosshair targeting of parts
If only installed on one side, the mod will not function correctly.
- Start Minecraft with the mod installed
- Open the logs and look for:
Loaded X custom part definitions from datapacks - Spawn an entity that has parts defined
- Press F3+B to see green wireframe hitboxes on the custom parts
| Dependency | Required | Version |
|---|---|---|
| Minecraft | Yes | 1.20.1 |
| Forge | Yes | 47.4.10+ |
| Java | Yes | 17+ |