HomeJavaModsXpOrbs HUD
XpOrbs HUD
ModsJava

XpOrbs HUD

by kvapilvaclav0 · on Modrinth

Tiny top-left HUD that counts experience orbs within 16 blocks and their total XP value, so you never miss orbs that scattered out of view after a fight…

⬇ Download on Modrinth

XpOrbs HUD is a one-line indicator that tells you whether there are still experience orbs in the area worth picking up. Vanilla Minecraft only shows orbs visually — and they often fly off behind blocks, drop down a cliff, or scatter into tall grass after a mob fight. By the time the XP-bar flash settles down you have no idea whether there's still anything left to grab. XpOrbs answers that at a glance.

What it shows

A small badge in the top-left corner:

Orbs: 8 (~52 XP)

When there are no orbs nearby, the badge dims to a muted Orbs: 0 so you can tell the mod is still active without it shouting.

How it works

Every 5 client ticks (≈4 times per second) the mod queries the client world for nearby ExperienceOrbEntity instances inside a 16-block cube around the player, then filters by squared-distance so the radius is a true sphere. Each orb's value is read from getValue() and summed. The count and total are cached between scans so the HUD render itself is essentially free.

Controls

The key uses raw GLFW polling so it behaves identically on every supported Minecraft version, no rebind UI required.

Compatibility

Works on Minecraft 1.21.8, 1.21.9, 1.21.10, and 1.21.11 (Fabric Loader 0.16+). One JAR covers all four versions — install via Fabric and drop into your mods/ folder.

Why

XP orbs are easy to miss. After clearing a mob spawner room, killing a few zombies near a ravine, or breaking a vein of ore, orbs scatter and float around for a couple of minutes. XpOrbs HUD lets you know whether there's still a meaningful XP haul waiting nearby — without doing a slow lap of the room or hunting through tall grass.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more