HeightBoxLib
🟢 Updated this month⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
🖼️ Gallery (1 images)
🔍 Analysis
- 🏆 #47 of 119 datapack mods in this game by downloads
📋 About This Mod
Hitbox related Library that gets the entity's height!
# HeightBoxLib Hitbox related library datapack for geting the height of an entity.
## Usage Execute as an entity at itself and run `hblib:util/get_height` or any of the other variants.
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` Example: Making an entity face a torso of a player ``` ##This is from the targetted entity scoreboard players set #Player hblib.number 1 function hblib:util/get_height
##Full - Eye height scoreboard players operation #Temp plate_havoc.temp = #Total hblib.number scoreboard players operation #Temp plate_havoc.temp -= #Eye hblib.number #Full /2 scoreboard players operation #Temp2 plate_havoc.temp = #Total hblib.number scoreboard players operation #Temp2 plate_havoc.temp /= #2 plate_havoc.temp #Halved + Temp execute store result storage plate_havoc:custom torso double 0. 01 run scoreboard players operation #Temp plate_havoc.temp += #Temp2 plate_havoc.temp
execute anchored eyes as 00000000-0000-0005-0000-0001000007e9 run function plate_havoc:game/misc/face_torso/execute with storage plate_havoc:custom ```
## Variants `hblib:util/get_height` | Gets height of an entity's hitbox\ `hblib:util/get_height_dy` | Height of an entity's hitbox -0. 01\ `hblib:util/get_halved` | Height of an entity's hitbox /2.
📊 Mod Details
- Game
- Minecraft Mods
- Author
- Trunkis
- Version
- 26.3-snapshot-10
- Downloads
- 344
- Endorsements
- 0
- Category
- datapack
- Created
- 12/23/2024
- Updated
- 9/1/2026
- Game Versions
- 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4
- Tags
- library, mobs, utility
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does HeightBoxLib support?
The author lists 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4. Other versions may work but are untested by the author.
What is the latest version of HeightBoxLib?
Version 26.3-snapshot-10, published 2026-09-01 with 344 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await
