CustomHitboxLib

Quick rating

CustomHitboxLib

No reviews yet

A powerful Forge 1.20.1 library that adds true multipart hitboxes to any entity! Override vanilla's single-square limitation and create complex bosses with precise collision using simple JSON Datapacks or the developer API.

API/Library
Mod Loaders
Forge
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
customhitboxlib-2.0.0.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

🧊 CustomHitboxLib

Break free from the vanilla square.

CustomHitboxLib is a lightweight, powerful library mod for Forge 1.20.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 the vanilla Ender Dragon!

Whether you're developing massive, complex bosses or simply want precise hitboxes for existing creatures, CustomHitboxLib provides a seamless, robust framework to make it happen.


❓ At a Glance

  • What does this project add? CustomHitboxLib is a library mod that brings full multipart bounding box support to Forge 1.20.1, overriding the vanilla limitation of single, square-shaped entity hitboxes.
  • What features does it have? You can attach any number of independent, precisely sized sub-hitboxes to a single entity (custom entities, vanilla mobs, or players). It handles complex positioning and automatically forwards damage to the main entity.
  • Why would a user want to download it? For players, simply install this if another amazing boss or combat mod requires it to function! For developers, this library gives you the tools to easily build massive, dynamically shaped creatures and realistic interactions without fighting hardcoded Minecraft mechanics.

Demonstration


📁 Full Datapack Support

You don't need to be a programmer to use CustomHitboxLib! Modpack creators and server owners can completely overhaul entity shapes using simple JSON files.

Shape Your World with JSON

Through the power of Minecraft's built-in Datapack system, you can attach entirely new hitboxes—like wings, tails, or extra heads—to any existing entity in the game, whether it's a vanilla zombie or a massive beast from another mod.

  • No Code Required: Define part dimensions, offsets, and behaviors purely through JSON.
  • Universal Capability: Works seamlessly on any loaded entity out of the box.
  • Live Reloading: Tweak your custom hitboxes and use /reload to see the changes instantly in-game!

Datapack JSON Example


🛠️ Powerful Developer API

While Datapacks are perfect for configuring existing mobs, CustomHitboxLib also offers a robust API for mod developers!

  • Capability Driven: Dynamically attach new sub-hitboxes to any entity using Forge Capabilities without needing to modify base classes or write invasive mixins.
  • Built-in Positioners: Utilize provided helper methods to easily animate and position parts (e.g., following behind, relative offsets, or smooth interpolation).
  • Absolute Control: For fully custom bosses, simply implement our interfaces on your entities to gain direct, fine-grained control over part lifecycles and update logic.

⚙️ Seamless Integration

CustomHitboxLib is designed for performance and maximum compatibility.

  • Advanced Collision Overrides: Completely disable the vanilla hitbox's pick interactions, pushing, block collisions, and suffocation mechanics, transferring all of those crucial checks directly to your new custom multipart hitboxes!
  • Precise Damage Forwarding: Striking any custom sub-hitbox flawlessly registers damage and directional knockback onto the main entity.
  • Non-Intrusive: Carefully built to run silently in the background, making it the perfect lightweight dependency for complex boss and combat mods.

Just drop it in your mods folder, load up a supported mod or custom datapack, and experience Minecraft combat in a whole new dimension!

🧊 CustomHitboxLib

Break free from the vanilla square.

CustomHitboxLib is a lightweight, powerful library mod for Forge 1.20.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 the vanilla Ender Dragon!

Whether you're developing massive, complex bosses or simply want precise hitboxes for existing creatures, CustomHitboxLib provides a seamless, robust framework to make it happen.


❓ At a Glance

  • What does this project add? CustomHitboxLib is a library mod that brings full multipart bounding box support to Forge 1.20.1, overriding the vanilla limitation of single, square-shaped entity hitboxes.
  • What features does it have? You can attach any number of independent, precisely sized sub-hitboxes to a single entity (custom entities, vanilla mobs, or players). It handles complex positioning and automatically forwards damage to the main entity.
  • Why would a user want to download it? For players, simply install this if another amazing boss or combat mod requires it to function! For developers, this library gives you the tools to easily build massive, dynamically shaped creatures and realistic interactions without fighting hardcoded Minecraft mechanics.

Demonstration


📁 Full Datapack Support

You don't need to be a programmer to use CustomHitboxLib! Modpack creators and server owners can completely overhaul entity shapes using simple JSON files.

Shape Your World with JSON

Through the power of Minecraft's built-in Datapack system, you can attach entirely new hitboxes—like wings, tails, or extra heads—to any existing entity in the game, whether it's a vanilla zombie or a massive beast from another mod.

  • No Code Required: Define part dimensions, offsets, and behaviors purely through JSON.
  • Universal Capability: Works seamlessly on any loaded entity out of the box.
  • Live Reloading: Tweak your custom hitboxes and use /reload to see the changes instantly in-game!

Datapack JSON Example


🛠️ Powerful Developer API

While Datapacks are perfect for configuring existing mobs, CustomHitboxLib also offers a robust API for mod developers!

  • Capability Driven: Dynamically attach new sub-hitboxes to any entity using Forge Capabilities without needing to modify base classes or write invasive mixins.
  • Built-in Positioners: Utilize provided helper methods to easily animate and position parts (e.g., following behind, relative offsets, or smooth interpolation).
  • Absolute Control: For fully custom bosses, simply implement our interfaces on your entities to gain direct, fine-grained control over part lifecycles and update logic.

⚙️ Seamless Integration

CustomHitboxLib is designed for performance and maximum compatibility.

  • Advanced Collision Overrides: Completely disable the vanilla hitbox's pick interactions, pushing, block collisions, and suffocation mechanics, transferring all of those crucial checks directly to your new custom multipart hitboxes!
  • Precise Damage Forwarding: Striking any custom sub-hitbox flawlessly registers damage and directional knockback onto the main entity.
  • Non-Intrusive: Carefully built to run silently in the background, making it the perfect lightweight dependency for complex boss and combat mods.

Just drop it in your mods folder, load up a supported mod or custom datapack, and experience Minecraft combat in a whole new dimension!

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works