Description
This mod allows you to view the NBT data of item stacks in a readable format inside the item tooltips. To use it, please enable the advanced tooltips (F3 + H). You can manually scroll the view and adjust its size using the key mappings (the default controls are in a screenshot below). You can also scroll fast with the help of another key mapping. It's basically a Forge alternative of the NBT Tooltip mod but with a slightly different format and controls. This mod also adds another line in the tooltip that tells you the slot number that the item stack is in.
I made this mod a couple of years ago by somebody's request because there was no mod like this available for Forge that they were happy with. I assume things have changed but it doesn't seem like by much. I was planning to release the mod back when I originally made it but then I kept being busy with something and somehow 2 years had passed lol. It was very easy to port this mod from 1.14.4 to 1.17.1, so I'm pretty sure I'll continue doing it for the future Minecraft releases as well.
How to install the mod in your development environment:
flatDir { dir 'libs' }2. Add the following to dependencies, if you're on 1.17.1 (change the MC version for others):
implementation fg.deobf("xaero:ItemNBTViewer-Forge-1.17.1:1.0")3. Download the mod jar file made for your Minecraft version and put it in the libs folder in your project directory. Create the folder if necessary.