Home›Java›Mods›Dynamic In-Game NBT Editor
Dynamic In-Game NBT Editor
ModsJava

Dynamic In-Game NBT Editor

by whyvo · 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.10 · Fabric⬇ Download for 1.21.6–1.21.8 · Fabric⬇ Download for 1.21.2–1.21.5 · Fabric⬇ Download for 1.20.5–1.21.1 · Fabric⬇ Download for 1.20.2–1.20.4 · Fabric⬇ Download for 1.20–1.20.1 · Fabric⬇ Download for 1.21.8 · NeoForge⬇ Download for 1.21.1 · NeoForge⬇ Download for 1.20.1 · NeoForge⬇ Download for 1.20.1 · Forge
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.
Dynamic In-Game NBT Editor — screenshot 1Dynamic In-Game NBT Editor — screenshot 2

Dynamic In-Game NBT Editor (DINE) allows you to modify entities and block entities' NBT dynamically.

This mod is client-only. Installing it in dedicated server may cause problems.

This mod modifies NBT through sending data command to server. Make sure you have enough permision.

Dynamic In-Game NBT Editor

Features

Dynamic: The editor fetches NBT and update every tick,. You can observe the dynamic changes of the entity.

Multi-screen: You can have 1 or more screens (tabs) opened.

Simple and user-friendly: Minimize the number of icons displayed on the screen at any given time, while maintaining full functionality.

Opetarion Guide

Multi Screen Tab Bar

All open screens are listed in the tab bar at the top.

The tab bar can scroll horizontally.

Key Function
Mouse click (left) switch to the selected tab
Mouse click (middle) close the hovered tab screen
Mouse click (right) call up the context menu

NBT Tree

NBT is displayed in a tree structure. You can unfold/fold some nodes for better visualization.

The NBT Tree can scoll vertically.

Key Function
Mouse click switch to the selected tab
Double mouse click close the hovered tab screen
Mouse click (right) call up the context menu
Enter edit the selected node
Delete delete the selected node
Ctrl + C copy a node to the clipboard (not system clipboard, same below)
Ctrl + X cut a node to the clipboard
Ctrl + V paste a node from the clipboard

Query Server

You can turn Query server on in the right-click context menu.

When this is on, this screen will not use the NBT data stored locally on the client, but will instead attempt to query the server to fetch the NBT. This behavior functions identically to F3+I.

In this state, the displayed NBT data is guaranteed to remain synchronized with the server at all times, though it will be a delay of 1 tick.

In defualt, the server side will check your permission. If you do not have sufficient permission level, the query will fail.

Key Binds

Name Default Function
Open DINE Editor not bound open the editor
Edit Target not bound open a new screen of the targeted entity or block entity

Commands

All these commands are client-side commands that will not be processed by the server.

Config

The config file is located in [gameroot]/config/dine.prop.

The config file is in Java Properties language.

All config are loaded/reloaded when the client reload resources (You can trigger it by F3+T.).

Config Item Type Default Function
defaultTryPauseGame boolean false whether a new screen try pause game
entityDefaultFromServer boolean false whether a new entity screen query server
blockEntityDefaultFromServer boolean false whether a new block entity screen query server
checkPermissionWhenFromServer boolean true whether should check permission before query server
logSentCommand boolean false whether to put sent command's content in the client log
dataCommand string data the command's name with function of vanilla command data

FAQ

Items' nbt/data components have different processing logic in the code. While in vanilla, there are no commands that can easily modified them.

If you really need it, you can try use some entity/block entity, such as Item Frame.

This frequently occurs on some block entities. The reason is that the server has not synchronized their NBT.

You can turn on the Query server in right-click context menu to solve this problem.

Since this is a client-only mod, you can generally join any server with this mod installed without encountering issues.

However, this does not imply that doing so is right. I will make no guarantees about it.

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