Modscraper Modscraper Minecraft
KeepInvTag logo

KeepInvTag

Mod

A simple Mod/Datapack where only people with the 'keepinv' tag keep the items.

Type

Mod

Modrinth Downloads

560

Modrinth ID

H6C4FO5K

Last Updated

May 31, 2026

Description

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

Compatibility

Mod Loaders

Datapack Fabric Forge Neoforge Quilt

Game Versions

1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 +5 more

Similar Mods

External Resources