for minecraft 1.20+
This mod adds more functionality to /data command.
- lets you concatenate strings
- lets you access player data storage (pds)
Syntax of the command fits right into Vanilla syntax. see https://minecraft.wiki/w/Commands/data on Minecraft Wiki
/data modify (block / entity / storage / storageplayer) path (set / insert / ...) concat (block / entity / storage) path [separator]
Concatenate:
- String + String
- List of Strings
- Any Array
- Multiple Nbt Values (selected by nbt selector)
storageplayer:
stores each player data storage in "Word/playerdata/uuid_pds.dat"
/loot ... inventory ... [MaxSlots]
drops the loot from source inventory into target inventory, limited with MaxSlots