Hi everyone! I'm working on a Minecraft 1.20.1 datapack project and want to create a checkpoint system
Hi everyone! I'm working on a **Minecraft 1.20.1 datapack project** and want to create a **checkpoint system** for gameplay purposes:
* When a player passes a checkpoint, the game **remembers their current state**.
* After the player dies, they **resume at the last checkpoint**.
* Nearby containers (like chests) should **behave as they were when the player passed the checkpoint**, to maintain consistent gameplay.
I’m looking for guidance on how to implement this **mechanically using functions, commands, or datapack logic**. Any tips or examples would be greatly appreciated!
* When a player passes a checkpoint, the game **remembers their current state**.
* After the player dies, they **resume at the last checkpoint**.
* Nearby containers (like chests) should **behave as they were when the player passed the checkpoint**, to maintain consistent gameplay.
I’m looking for guidance on how to implement this **mechanically using functions, commands, or datapack logic**. Any tips or examples would be greatly appreciated!
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/Minecraft) if you have any questions or concerns.*