HomeJavaDatapacksKeepInvTag
KeepInvTag
DatapacksJava

KeepInvTag

by Widder · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 26.1–26.2 · Data pack⬇ Download for 1.21.11 · Data pack⬇ Download for 1.21.8–1.21.10 · Data pack⬇ Download for 26.1–26.2 · Fabric⬇ Download for 1.21.11 · Fabric⬇ Download for 1.21.8–1.21.10 · Fabric⬇ Download for 26.1–26.2 · Forge⬇ Download for 1.21.11 · Forge⬇ Download for 1.21.8–1.21.10 · Forge⬇ Download for 26.1–26.2 · NeoForge⬇ Download for 1.21.11 · NeoForge⬇ Download for 1.21.8–1.21.10 · NeoForge⬇ Download for 26.1–26.2 · Quilt⬇ Download for 1.21.11 · Quilt⬇ Download for 1.21.8–1.21.10 · Quilt
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.

With the Mod/Datapack you can give players a tag with which they can keep the items after death.

If you find any bugs or have any Datapack/Mod suggestions, please let me know on my Discord.

Notes

Mods

You can tag players with

/tag [PlayerName] add KeepInv

and remove it with

/tag [PlayerName] remove KeepInv

V1.0.3

In Version 1.0.3 or higher, you can set whether you keep the XP or it is completely reset

Reset XP (by default)

/scoreboard players set xp keepinvtag 1

Keep XP (for everyone)

/scoreboard players set xp keepinvtag 0

Thanks

Downloads Folower

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

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

Explore more