Mineuniverse
Data Packs
KeepInvTag

KeepInvTag

DATA PACK
A simple Mod/Datapack where only people with the 'keepinv' tag keep the items.
by WidderMC
Download Claim this project
39 downloads
0 likes
Updated Oct 14, 2026
0 hypes
Utility
Advertisement Remove ads with Premium →

⚠️ Notice ⚠️

I will no longer provide updates for my projects on CurseForge. All future updates and the latest versions will only be available on Modrinth. Please make sure to download the newest releases there: Modrinth

Thank you for your support!

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

  • All items will be dropped on one spot
  • XP is reset by default unless you change it

Mods

  • If you use Fabric you must have a version of Fabric API also installed
  • If you use Quilt you must have a version of Quilted Fabric API also installed

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
keepinvtag-V1.0.3.zip
MC 26.1, 26.1.1, 26.1.2, 26.2
Release 2026-06-23 Get

Requirements & install

How to use this data pack in Minecraft
Mods needed
None, works in vanilla
Minecraft
26.1 – 26.2
Install folder
saves/<world>/datapacks

How to install data packs

  1. Download the data pack .zip file (do not extract it).
  2. New world: click Data Packs on the world creation screen and drop the .zip in. Existing world: open .minecraft/saves/<world>/datapacks.
  3. Put the .zip into the datapacks folder of the world (servers: world/datapacks).
  4. Run /reload in game (or rejoin the world) and check it with /datapack list.
Browse more: Data Packs for 26.2 All data packs

More from WidderMC

Advertisement Remove ads with Premium →

You Might Also Like