Compatibility
Minecraft: Java Edition
26.1.x
1.21.11
Platforms
Supported environments
Client-side
Tags
Creators
Details
Licensed ARR
Published last month
Changelog
1.2.0
Added
- Multi-MC-version support. Separate jars now built for Minecraft 1.21.11 (Yarn), 26.1, 26.1.1, and 26.1.2.
- HUD overlay compatibility. The highlight now appears wherever an item is rendered — vanilla container slots, the hotbar, MiniHUD / Tweakeroo's inventory preview, and Inventory HUD+'s armor / hotbar / inventory overlays. Previously only items rendered through the public 3-arg
item()path (essentially just picked-up cursor items) were caught.
Fixed
- Highlight no longer shows as a solid box on items with transparent pixels. The 4-thin-rectangle border is drawn at the slot edges only; the item area in the middle is left untouched.
- Highlight renders under the item sprite and the count number / damage bar / cooldown overlay. Switched the inject point from
RETURNtoHEADso the item and its decorations always draw on top of the border. pack.mcmetaaccepted by MC 26.1.x. Datapacks use themin_format/max_formatarray form required forpack_format > 81.
Changed
- Lore-color highlight is on by default. Items with a "Tier" line in their lore that contains multiple colored characters cycle through those colors automatically. Toggle off in the config if you preferred the static color.
- Custom items in the vanilla hotbar are now highlighted on the HUD. Lower the alpha or open an issue if you want a config toggle to suppress this.
Implementation note
- Switched from a
HandledScreen/AbstractContainerScreenslot mixin to a universal mixin on the private 6-argitem(LivingEntity, Level, ItemStack, int, int, int)(or the YarndrawItemequivalent on 1.21.11). All publicitem()overloads delegate to this method, so the highlight fires once for every rendered item regardless of which entry point the caller used.
Files
custom-item-highlighter-mc1.21.11-1.2.0.jar(1,004.62 KiB) Primary
Metadata
Release channel
ReleaseVersion number
1.2.0Loaders
Fabric
Game versions
1.21.11Environment
Client-side only


