Compatibility
Minecraft: Java Edition
1.21–1.21.3
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Client Data Command
Add client-sided Data command. View NBT easier without permission.
Requirements
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>
<TARGET>
=(block <targetPos> | entity <target>)
<MODIFICATION>
=(append|insert <index>|merge|prepend|set)
<SOURCE>
=(block <sourcePos> | entity <source>)
About this command, please visit Commands/data page of Minecraft Wiki.
Storage data is not supported and there are no plans about.
Datac
datac (get|merge|modify|remove) ...
Shorthand version of Client-Data command.
Known Issues
Notes
- The mod file name indicates the mod name, loader and version:
(mod name)-(mod loader)-(mod version)+mc(built minecraft version).jar
- For example:
FabricModTemplate-fabric-1.0+mc1.21.jar