Data Command Plus
This mod expands the capabilities of /data command
Syntax of the command fits right into Vanilla syntax. see Commands/data on Minecraft Wiki
/data modify (block / entity / storage) <path> (set / insert / ...) concat (block / entity / storage) <path> [<separator>]
Squished tree: of /data command
|
/data
… get (block <targetPos>|entity <target>|storage <target> | storageplayer <player>) [<path>] [<scale>]
… merge (block <targetPos>|entity <target>|storage <target> | storageplayer <player>) <nbt>
… modify (block <targetPos>|entity <target>|storage <target> | storageplayer <player>) <targetPath> (append|insert <index>|merge|prepend|set)
… from (block <sourcePos>|entity <source>|storage <source>) [<sourcePath>]
… concat (block <sourcePos>|entity <source>|storage <source>) [<sourcePath>]
… string (block <sourcePos>|entity <source>|storage <source>) [<sourcePath>] [<start>] [<end>]
… value <value>
… remove (block <targetPos>|entity <target>|storage <target> | storageplayer <player>) <path>
|
Concatenate
- String + String
- List of Strings
- Any Array
- Multiple Nbt Values (selected by nbt selector)
- Return result: amount of elements concatenated
storageplayer
- store data per player in their own file in /players/<UUID>_pds.dat
- works only on players