Client Data Command
The Client Data Command mod adds a client-side data command to Minecraft, allowing players to view and edit NBT tags without requiring special permissions.
System Requirements
- Minecraft
- Fabric Loader
- Fabric API
Available Commands
Client-Data
client-data
... get <TARGET> [<path>] [<scale>]
... merge <TARGET> <nbt>
... modify <TARGET> <targetPath> <MODIFICATION>
... from <SOURCE> [<sourcePath>]
... string <SOURCE> [<sourcePath>] [<start>] [<end>]
... value <value>
... remove <TARGET> <path>
Command Parameters:
<TARGET>=(block <targetPos> | entity <target>)<MODIFICATION>=(append|insert <index>|merge|prepend|set)<SOURCE>=(block <sourcePos> | entity <source>)
For detailed information about working with data commands, it's recommended to check the relevant Minecraft Wiki page.
Important: Storage data functionality is not supported and there are no plans to implement it.
Datac
datac (get|merge|modify|remove) ...
Shortened version of the Client-Data command for quicker access to functions.
File Naming Features
The mod file name contains information about the mod name, loader, and version:
- Format:
(mod name)-(mod loader)-(mod version)+mc(built minecraft version).jar - Example:
FabricModTemplate-fabric-1.0+mc1.21.jar