Home›Java›Mods›Data Command Plus -storageplayer, Concatenate, Loot
Data Command Plus -storageplayer, Concatenate, Loot
ModsJava

Data Command Plus -storageplayer, Concatenate, Loot

Java mod listed for Minecraft 1.20–1.21. Downloads from the MC Java Mods app on Android.

by fafik77 · on CurseForge

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Fabric only.

⬇ Download for 1.21.1⬇ Download for 1.21⬇ Download for 1.20.3–1.20.4⬇ Download for 1.20–1.20.1
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.

Data Command Plus

New versions and wiki of this mod will only be available on Data Command Plus (on Modrinth) starting from minecraft 1.21.2

This mod expands the capabilities of /data command, /loot

Only required on the Server side, client will need it for full syntax help!

 

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>
    • … modify (block <targetPos>|entity <target>|storage <target> | storageplayer <player>) operation (=, +=, -=, *=, /=, %=, ^=, <, >) <double value>
  • … remove (block <targetPos>|entity <target>|storage <target> | storageplayer <player>) <path>

Squished tree: of /Loot command

/loot <TARGET> <SOURCE>

<TARGET> is:

  • block chest
  • give | insert | spawn | replace <targetPos>
  • insert entity <to entity> inventory <from entity>
<SOURCE> is:
  • fish | loot | kill | mine
  • inventory <entity> [MaxSlots]

<target entity> is of type: player, cart, boat, villager, horse/donkey/llama, item, other living entity

[MaxSlots] is optional and will return up to n Slots (counting from 1), minus will return last n Slots

Concatenate

given path will be replaced with new string
p.s. if given path is a string and a string is concatenated, the result is concatenation of those two strings

Math Operation

Storageplayer

Loot ... inventory ...

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.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more