ModsFinder

MECHA - Multiple Entity Collision Hitboxes API

by byteManiak

MECHA adds a Fabric API that lets a custom entity carry several collision boxes instead of one, so developers can give a single entity a more detailed hitbox shape.

FabricClient and serverMIT LicenseOpen source1.19.4 – 1.21.1

What it does

A custom entity class that implements the MultiCollidable interface can override getColliders and return extra colliders, each covering part of the entity's body. The API ships with an example that adds two colliders to an entity shaped like a slab. Version 0.1.2 also introduces DynamicBoundingBoxEntity, whose bounding boxes are built from a list that changes at runtime. The code is released under the MIT License and is open source. Client and server both need the mod, since collision is checked on each side.

Key features

  1. Multiple colliders per entity

    A custom entity can return a list of collision boxes, replacing the single bounding box vanilla entities use.

  2. MultiCollidable interface

    Entity classes implement MultiCollidable and override getColliders to supply the extra boxes.

  3. Dynamic bounding boxes

    DynamicBoundingBoxEntity builds its colliders from a list that can change, added in version 0.1.2.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.21.x2 of 2 versions with builds
1.21.10.1.2
1.210.1.2
1.20.x7 of 7 versions with builds
1.20.60.1.2
1.20.50.1.2
1.20.40.1.2
1.20.30.1.2
1.20.20.1.2
1.20.10.1.2
1.200.1.2
1.19.x1 of 1 version with builds
1.19.40.1.2
ReleaseBetaAlphaNot available

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

Questions

Does MECHA need Fabric API?

MECHA is published for Fabric only. Its files cover 1.19.4 – 1.21.1, and the latest file is 0.1.2 for 1.21.1.

Does MECHA have to be installed on the server?

Yes. A server running it needs every connecting player to have it too.

In the catalog

MECHA - Multiple Entity Collision Hitboxes API is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 32,366 mods support Minecraft 1.21.1.

More from byteManiak

All projects

Similar mods

What the author says

A simple API for enabling custom entities to implement more than one collision box. Implement MultiCollidable in your custom entity class, and override getColliders to add extra colliders to the entity.
byteManiak, on the Modrinth page

Official listing

Owner
byteManiak
Published
2024-05-03
Updated on Modrinth
2024-09-11
Facts verified
2026-10-15

Tags