HomeJavaModsDataLens
DataLens
ModsJava

DataLens

by DarkBladeDev · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.9–1.21.11 · Bukkit⬇ Download for 1.21.2–1.21.8 · Bukkit⬇ Download for 1.21.9–1.21.11 · Paper⬇ Download for 1.21.2–1.21.8 · Paper⬇ Download for 1.21.9–1.21.11 · Purpur⬇ Download for 1.21.2–1.21.8 · Purpur⬇ Download for 1.21.9–1.21.11 · Spigot⬇ Download for 1.21.2–1.21.8 · Spigot
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
DataLens — screenshot 1DataLens — screenshot 2DataLens — screenshot 3DataLens — screenshot 4

🔍 DataLens

Real-time data inspector for Minecraft — inspect, edit, compare and export any block, entity or item.

PaperMC CodeFactor


Overview

DataLens is a Paper plugin that gives server operators and developers a powerful lens into the internal data structures of Minecraft objects. Point at any block, entity or player, and instantly explore its full data tree — PDC tags, attributes, potion effects, enchantments, block states and more — through both a paginated chest GUI and chat commands.

Unlike simple NBT viewers, DataLens provides a complete inspect → edit → validate → diff → export pipeline with automatic rollback on failure, a built-in changelog, and a public API for third-party schema registration.

Supported platforms: Bukkit / Spigot / Paper 1.20.x – 1.21.x · Java 21+


Features

🔎 Deep Inspection

✏️ Safe In-Place Editing

📊 Diff Engine

📤 Export

🖥️ Inspector GUI

📝 Changelog

🔐 Permission System

🧩 Public API

⚡ Performance


Commands

Command Description Permission
/inspect Inspect the block/entity you are looking at (raytrace) datalens.inspect
/inspect <player> Inspect a named online player directly datalens.inspect
/data set <path> <value> Edit a primitive value at the given path datalens.edit
/data remove <path> Delete the node at the given path datalens.edit
/data export [json|yaml] Export the inspected data tree to chat datalens.inspect
/data diff Show differences between live data and working copy datalens.inspect

Both commands include context-aware tab completion — paths are autocompleted from the live data tree, and values suggest type-appropriate options.


Permissions

Node Description Default
datalens.inspect Inspect blocks, entities and items op
datalens.edit Edit inspected data values op
datalens.admin Full administrative access (inherits inspect + edit) op

Configuration

Configuration is stored in plugins/DataLens/config.yml:

debug: false

cache:
  session-ttl-seconds: 60     # Idle timeout for player sessions
  max-sessions: 100            # Maximum concurrent inspection sessions

inspect:
  max-ray-distance: 5.0        # Raytrace distance in blocks for /inspect

changelog:
  enabled: true                # Enable/disable edit logging
  max-entries: 10000           # Maximum changelog entries

📚 Documentation and support

All documentation, source code, and examples are available in the official repository:
👉 https://github.com/Parallax-Development/DataLens

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