HomeJavaModsData Command Plus
Data Command Plus
ModsJava

Data Command Plus

by fafik77 · on Modrinth

Storageplayer, Concatenate, Loot Entities, Player and Data Manipulation. Free Minecraft Java mod for 1.21.5, 1.21.6, 1.21.7.

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.5–1.21.8⬇ Download for 1.21–1.21.4
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

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
Always download the latest release to have access to all the features

To use with NeoForge/Forge

Follow instructions at: Sinytra Connector and Forgified Fabric API.
Please be aware that that port is not perfect and can crash your game.
In case it does crash, it should be reported to Sinytra Connector mod developer!

Squished tree: of /data command

Squished tree: of /Loot command

/loot <TARGET> <SOURCE>
where
<TARGET> is: <SOURCE> is: <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), (-n) minus will return last n Slots
Equipment in order: Armor feet to head, mainhand, offhand, body, saddle.

Example, compacting inventory from one chest minecart into another one:
/loot insert entity @e[limit=1,type=chest_minecart,tag=1] inventory @e[limit=1,type=chest_minecart,tag=2]

Possibilities

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 ...

/execute as @e[type=item] run loot insert ~ ~-0.1 ~ inventory @s (will try to insert a copy of all dropped items from the world into inventory under your feet)
Examples of Loot ... inventory ... can be found in datapack Fafik77 Lib/inventory_manager

Delete Kill Command

In response to So I Added WAY Too Many Slimes to Minecraft -by Fundy
/deletekill <entities>
Deletes selected entities, no loot dropped, no events fired just gone
p.s. works grat on slimes
Verified by MCModsHub

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

Explore more