Перейти к содержимому
Mineforgian

Save Point

A partial keep inventory: Spawn points save your current items and restore them upon death

Загрузки
3K
Подписчики
19
Обновлён
21 августа 2026 г.
Лицензия
MIT

Опубликован 21 июня 2025 г.

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. All your other items will drop at your death location.

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 the loot you collected while inside will drop.

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

  • Contents of bundles & shulker boxes are handled, for example if you save your inventory then put some items inside a bundle then die, you should keep all your items

  • 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

  • By default your items are not saved if your respawn block is destroyed or missing. You can change this with the gamerule savepoint:restore_without_spawnpoint.

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

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

Notes

  • Works server-side, so it works with vanilla clients. The only client feature is potential translations for the "Inventory Saved" message in the future.
  • Inspired by Respawn Save Points by seymourimadeit and CreativelyJake, check them out!
  • Compatible with Revive
  • Might be compatible with some gravestone mods
  • [≤1.21.11] compatible with Accessories
  • [≥26.1] compatible with Trinkets Updated
  • If you're in singleplayer and want a mod that resets not only your inventory but the whole world, see Save State
  • Requires Fabric API and Fabric Language Kotlin
  • Pairs well with a mod that makes your items not fly everywhere when you die

Ченджлог

1.2.5+mc26.1.2Релиз26.1.1, 26.1.2, 26.2 · 21 августа 2026 г.
  • Workaround to fix weird incompatibility with Defaulted where bundle contents are not saved
1.2.4+mc26.1.2Релиз26.1.1, 26.1.2, 26.2 · 15 августа 2026 г.
  • Add gamerule savepoint:restore_without_spawnpoint to allow restoring your inventory even when your spawnpoint is destroyed or missing (default: false)
1.1.1+1.21.1Бета1.21.1 · 11 августа 2026 г.
  • Fix consuming two respawn anchor charges
  • Adjust save trigger logic to activate in some situations it previously did not, such as the /setspawn command and the save points from Soulbound

This is a one-time update due to a request and it will not receive ongoing support.

1.2.3+mc26.1.2Релиз26.1.1, 26.1.2, 26.2 · 8 августа 2026 г.
  • Fix unsaved bundle/shulker box contents not dropping sometimes
  • Fix intangible projectiles loaded in crossbow dropping
1.2.2+mc26.1Релиз26.1.1, 26.1.2, 26.2 · 29 июля 2026 г.
  • Fix unsaved armor dupe
1.2.1+mc26.1Релиз26.1.1, 26.1.2, 26.2 · 28 июля 2026 г.
  • Fix equipped trinkets not getting saved
  • Fix equipped trinkets dropping when they shouldn't
1.2.0+mc26.1Релиз26.1.1, 26.1.2, 26.2 · 28 июля 2026 г.
  • Add support for Trinkets Updated
  • Fix armor & offhand slots dropping even when saved
  • Removed savepoint:restore_ignored tag, instead it will only compare components in savepoint:restore_compare
1.1.0+mc26.1Релиз26.1.1, 26.1.2, 26.2 · 25 марта 2026 г.
  • Port to 26.1
    • No accessories compat yet
    • Trinkets (Updated) compat is planned

Комментарии

Загружаем…