ModsFinder

HeightBoxLib

by Trunkis

HeightBoxLib is a library for reading an entity's hitbox height, eye position and anchor points, and it is aimed at data packs and mod authors.

FabricForgeNeoForgeQuiltServer required, client optionalMIT LicenseOpen source1.20.3 – 26.2

What it does

Hitbox related values from the library can be read for any entity, including the height of its hitbox, the position of its eye and the anchor used for aiming. Those values are written to hblib:hitbox storage and to scoreboard objectives such as Eye, hblib.number and Total, so a data pack can use them in commands. The library also lets an entity face the torso of a player. It is published for Fabric, Forge, NeoForge and Quilt, and as a data pack, with files for 1.20.3 – 26.2 and 3+mod for 1.21.4 as the latest file. The server requires it and the client may leave it out, and it is released under the MIT License, so it is open source.

Key features

  1. Hitbox height readout

    The height of an entity's hitbox is made available for use by commands and data packs.

  2. Eye and anchor values

    Eye position and anchor point values are stored in hblib:hitbox storage and scoreboard objectives.

  3. Facing a player's torso

    Entities can be made to face the torso of a player instead of the eyes or feet.

Compatibility

Latest build for each game version and loader.

1.21.43+mod3+mod3+mod3+mod
1.21.33+mod3+mod3+mod3+mod
1.21.23+mod3+mod3+mod3+mod
1.21.13+mod3+mod3+mod3+mod
1.213+mod3+mod3+mod3+mod
ReleaseBetaAlphaNot available

This mod also publishes snapshot builds. Snapshots are not shown in the matrix.

How it compares

Full comparison

Hitbox Focus is a Fabric client-side only mod under the Apache License 2.0, not open source, for 26.2. Combat Hitboxes is client-side only under the Apache License 2.0, open source, for 1.19.3 – 26.3. Additional Entity Attributes runs on client and server under the MIT License, open source, for 1.19.2 – 26.2 on Fabric, NeoForge and Quilt.

ModLoadersGame versionsEnvironmentUpdated
HeightBoxLibFabric, Forge, NeoForge and Quilt1.20.3 – 26.2Server required, client optional2026-09-01
Hitbox FocusFabric26.2Client-side only2026-09-02
Combat HitboxesFabric1.19.3 – 26.3Client-side only2026-06-13
Additional Entity AttributesFabric, NeoForge and Quilt1.19.2 – 26.2Client and server2026-07-13

Questions

Does the server need HeightBoxLib?

Yes. It is required on the server and optional for players.

In the catalog

HeightBoxLib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,894 mods support Minecraft 26.2.

More from Trunkis

All projects

Similar mods

What the author says

The height position of both the entity's eye anchor and the hitbox height will be outputted as hblib:hitbox eye and hblib:hitbox out in storage. The height and eye values can be obtained in score as #Eye hblib.number and #Total hblib.number
Trunkis, on the Modrinth page

Official listing

Owner
Trunkis
Published
2024-12-21
Updated on Modrinth
2026-09-01
Facts verified
2026-10-15

Tags