HomeJavaDatapacksSave and Return inventory and XP
DatapacksJava

Save and Return inventory and XP

by bongounicorns · on Modrinth

A simple data pack that uses a unique UUID bound Marker entity to store a player's inventory and XP. When loaded back, it places all of the items in their…

⬇ Download on Modrinth

Use Case

Summary

This pack saves a player's inventory and XP to a unique UUID-bound Marker entity upon calling the inventorysave:save_inventory function. Upon calling the inventorysave:return_inventory or inventorysave:load_inventory functions, it replaces the player's current XP and items with the original saved template with all items having their original NBT and in the proper slots.

Usage

Resetting

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