NBTviewer
NBTviewer is a lightweight client-side NeoForge mod that displays an item’s NBT (SNBT) directly inside its tooltip.
It is designed for modders, pack makers, and advanced players who want to inspect, debug, and understand item data instantly — without commands or external tools.
Main Features
NBT directly in tooltips
- Displays the full SNBT of the hovered item directly in its tooltip
- Optimized to stay readable and performant
Hold SHIFT to show (optional)
- By default, NBT is only shown while holding SHIFT
- Optional hint line when SHIFT is not held
Syntax highlighting (HEX colors)
- Keys
- Strings
- Numbers
- Booleans
- Punctuation (
{ } [ ] , :)
- Identifiers
All colors are configurable using HEX format (#RRGGBB).
Formatting modes
- Single-line: compact raw SNBT on one line
- Multi-line: formatted with indentation and line breaks
Includes safety limits to avoid excessively large tooltips.
Safe truncation & limits
- Maximum total character count
- Maximum line length
- Configurable indentation size
Tooltip scaling
- Auto-scale: adapts to NBT size and line count
- Manual scale: fixed size (ignored when auto-scale is enabled)
Copy NBT to clipboard
- Press CTRL + SHIFT + C to copy item SNBT
- Optional feedback:
- Small popup confirmation
- Optional local sound effects (client-side only)
Configuration
- SHIFT-only display
- Single-line or multi-line formatting
- Tooltip hint lines
- Tooltip size limits
- Indentation spacing
- Auto-scale or manual scale
- Clipboard popup and sounds
- Full HEX color customization
Multiplayer
- Client-side only
- No server installation required
- No network traffic
- Only affects local tooltips
Language Support
- English
- French
- German
- Spanish
- Italian
- Portuguese (Brazil)