UndoCraft
UndoCraft is a Minecraft Bedrock Script Add-On that lets you undo recent block changes and recover from accidental block destruction, explosions, gravity-related changes, and supported container changes.

Features
- Block Break Undo — Restore recently broken blocks.
- Block Placement Undo — Undo recently placed blocks.
- Explosion Recovery — Restore supported blocks destroyed by explosions.
- Container Recovery — Restore supported container blocks and their recorded contents.
- Gravity Block Recovery — Recover supported gravity-affected blocks, including blocks affected by explosions.
- Automatic Action Batching — Nearby changes made within a short period can be grouped into a single undo step.
- 5-Minute History — UndoCraft keeps a rolling history of recent changes for up to 5 minutes.
- Up to 200 Blocks Per Undo Step — A recorded undo step can contain up to 200 blocks.
Commands
!undo
Undo your most recent recorded action.
!undo
!undo <seconds>
Undo recorded actions from the specified recent time window.
!undo 30
The supported range is 1–300 seconds.
!undo help
Display the available UndoCraft commands.
!undo help
How It Works
UndoCraft automatically records supported block changes while you play.
When you use an undo command, UndoCraft attempts to restore the recorded block states while avoiding overwriting unrelated blocks that have changed since the original action.
For explosion events, UndoCraft records affected blocks and also handles supported gravity-block recovery where applicable.
Future Features
The following features are planned for future versions:
- Player Death Recovery — Restore player inventory and XP after death.
- Interactive GUI Menu — Use an interface instead of chat commands.
- Custom Undo Item — Perform an undo using a custom item.
- Multi-Step History — Undo multiple previous actions individually.
- Pet & Mob Revival — Recover pets and mobs from accidental deaths.
- Area / Radius Revert — Quickly revert larger affected areas, including explosion damage.
Note: These are planned features and are not included in the current beta version.
Requirements
- Minecraft Bedrock Edition 1.26.0 or newer
- Script support enabled for the world
- UndoCraft installed as a world-scoped add-on
Creator
MODS FOR MCPE
YouTube: https://www.youtube.com/@modsformcpe007
License
I (MODS FOR MCPE) own this add-on.
Permission is strictly required to edit, change, modify, or distribute anything within this add-on pack.