Save Point

Save Point

Mod

Turns spawn points into save points for your inventory

Server AdventureGame MechanicsStorage

82 downloads
4 followers
Follow Save

A kind of partial KeepInventory based on spawn points.

When you set your spawn, your inventory and XP will be saved at that instant. When you die, only the items and XP you had for that save will be restored.

For example, if you set your spawn before looting a structure and then die, you will keep the equipment you had before going into the structure but not the loot you collected while inside.

More Details
  • Works with beds and respawn anchors, and should work with most modded respawn systems

  • You may click the respawn point again to save your inventory again

  • Partial stacks are preserved, so if you save with 10 diamonds, collect 10 more diamonds, and then die, you will keep 10 diamonds and drop 10 diamonds

  • Items are still restored even if inventory items are moved around, although in a partial restore scenario the order may affect how stacks are split

  • When comparing items, any components in #savepoint:restore_ignored are ignored. By default, this includes:

    • minecraft:damage (durability)
    • minecraft:charged_projectiles (item loaded in crossbow)
    • minecraft:map_decorations (markers on maps)
    • minecraft:writable_book_content (writable book content)
    • bundle-backportish:bundle_selection (selected slot for Bundle Backport-ish)

    Feel free to open an issue with suggestions for more ignored components

Notes


Project members

ThePotatoArchivist

Member

Details

Licensed MIT
Published a month ago
Updated a month ago