Please sign in to access this page

Item Holograms (Minecraft Mod)

Item Holograms (Minecraft Mod)

7 devlogs
7h 8m
•  Ship certified
Created by mattseq

Client-side Minecraft mod that adds holograms for item drops with item and stack count and displays tooltip info when looked at. Includes performance features such as frustum culling, raytracing, and caching.

Timeline

Ship 2

This ship is currently being voted on by the community. Check back later!

mattseq

1 day ago

mattseq Covers 2 devlogs and 1h 47m
Earned sticker

Added config. the parameters are: enable tooltips, label display distance, enable hover animation, minimal mode. Minimal Mode basically only shows the hologram when you're looking at the item instead of all the time, and only shows tooltips when you're both looking at the item and sneaking. This will be version 4.0.0.

Update attachment

started working on adding config. I think some time from the last time i shipped didnt count since i didnt devlog it. Don't worry, it did not take me 45 minutes to start adding config. although i did run into a little bug where intellij started telling me that a method was deprecated for 1.21.1 even though i was using 1.20.1. I'm also not exactly sure what the config should include. Probably whether or not tooltips are shown when hovered and maybe distance until it disappears, maybe size, etc. I also want to add a simple feature where tooltips only show up when u sneak or something like that and then add config for that too ig. Here's the Kaupenjoe vid i watched to learn how to make config

Update attachment

Ship 1

1 payout of shell 140.0 shells

mattseq

20 days ago

mattseq Covers 5 devlogs and 5h 21m

Major update! I added the bubble renderer that I've used in one of my other mods: https://modrinth.com/mod/speech-bubbles. Then I realized that the image I had in my head for what the box/bubble should look like was actually what the Minecraft tooltips look like. Which got me thinking: why dont I just use the tooltip info Minecraft gives me for each item. I wouldn't have to create my own code to get info about different types of items. So I made the texture look like tooltips and the info is directly from the tooltips so the mod is more like tooltip holograms

Update attachment

The hologram now show more information when hovered. Right now, it just shows enchantments and durability but I plan to add more such as hunger and saturation for food, the mod that an item is from, and maybe even a preview of the contents of for example of shulker box or bundle. I also want to change the box. Right now it uses multiple boxes in the background of the text and i want to switch to one box that i can use a texture for, for better customization (I've already done this before so shouldnt be too hard). Eventually, I'll probably also add config.

Update attachment

implemented raytracing so that items behind blocks don't render holograms. also added caching for labels which are only recalculated when the item stack changes and for the raytracing result which is recalculated every 5 ticks. The cache is also cleaned every 30 seconds of any item drops that no longer exist. Here's a picture of the LOS (Line of Sight) check happening and the cache getting cleaned.

Update attachment

Added frustum culling so it only renders holograms for drops in view. Here's a picture. 1 hologram was rendered while i was facing the item drop and when i turned around it went to 0.

Update attachment

Finished the whole mod ig. It was really simple, I have some ideas for more features but they don't really fit this mod's name so I'm probably going to make another one that has a broader scope. Anyway, Modrinth and Curseforge are already reviewing it so I guess I'll ship it once that's done.

Update attachment