ModsFinder

CustomHitboxLib

by GawrMonster

CustomHitboxLib gives entities multipart hitboxes that go beyond the single square vanilla uses, and it is built for Forge and NeoForge.

ForgeNeoForgeClient and serverMIT LicenseOpen source1.20.1 – 1.21.1

What it does

Vanilla entities use one rectangular bounding box set by width and height. CustomHitboxLib lets an entity carry several sub-hitboxes, each with its own size and offset, so a boss can have collision on a head, a body and limbs. Part dimensions, offsets and behaviour are defined in JSON, and a developer can also attach sub-hitboxes at runtime through Forge Capabilities without editing the base entity class.

The library needs Code Required, and the environment is client and server, so servers and every player must run it. Files exist for 1.20.1 and 1.21.1: Forge 1.3.9 for 1.20.1 and NeoForge 2.0.9 for 1.21.1, both dated 2026-10-06. The code is open source under the MIT License, and public links for the source, issue tracker and wiki are listed.

Key features

  1. Multipart hitboxes

    An entity can carry several hitboxes, each with its own dimensions and offset, instead of one square.

  2. JSON configuration

    Part sizes, offsets and behaviours are set in JSON files, which also lets modpack creators reshape existing mobs.

  3. Live reloading

    Edits to custom hitboxes take effect in-game after a reload, so changes can be checked without restarting.

  4. Damage forwarding

    A hit on a custom sub-hitbox registers damage and directional knockback on the main entity.

  5. Positioners and interpolation

    Helper methods move parts relative to the entity, for example following behind it, with smooth interpolation between positions.

Compatibility

Latest build for each game version and loader.

1.21.1Not available2.0.9
1.20.11.3.9Not available
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Boss encounters

Bosses with a head, wings or limbs can take hits where each part is shaped to match the model.

Datapack tuning

Server owners can change the hitboxes of existing creatures through datapack files without a code change.

Who it’s for: Mod developers building bosses with precise collision use the API directly, with entities implementing its interfaces to control part lifecycles. Modpack creators and server owners can use the JSON files alone.

How it compares

Full comparison

More Hitboxes is open source under the MIT License, supports Fabric, Forge and NeoForge, and covers 1.18.2 – 1.21.1. HammerMultipart is for Forge and NeoForge across 1.20.1 – 1.21.1 and is not open source, with its license reserved to All rights reserved. CB Multipart is open source under the GNU Lesser General Public License v2.1 only and spans 1.5.2 – 1.21.1 on Forge and NeoForge.

ModLoadersGame versionsEnvironmentUpdated
CustomHitboxLibForge and NeoForge1.20.1 – 1.21.1Client and server2026-10-06
More HitboxesFabric, Forge and NeoForge1.18.2 – 1.21.1Client and server2026-03-31
HammerMultipartForge and NeoForge1.20.1 – 1.21.1Client and server2026-07-01
CB MultipartForge and NeoForge1.5.2 – 1.21.1Client and server2026-03-30

Questions

Does CustomHitboxLib need to be installed on the server?

Yes. Servers that run it need every player to install it too.

Which loaders and versions are supported?

Forge and NeoForge are supported. Files exist for 1.20.1 on Forge and for 1.21.1 on NeoForge.

Can a datapack change an existing mob's hitbox?

Yes. Part dimensions, offsets and behaviours are defined in JSON, so existing creatures can be reshaped through datapack files.

In the catalog

CustomHitboxLib is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 32,366 mods support Minecraft 1.21.1.

More from GawrMonster

All projects

Similar mods

What the author says

CustomHitboxLib is a lightweight, powerful library mod for Forge 1.20.1 and NeoForge 1.21.1 that revolutionizes entity bounding boxes. It completely bypasses the limitations of Minecraft's hardcoded single, square-based hitboxes (width and height), introducing full multipart hitbox support for any entity—just like…
GawrMonster, on the Modrinth page

Official listing

Owner
GawrMonster
Published
2026-07-17
Updated on Modrinth
2026-10-06
Facts verified
2026-10-15

Tags