π₯ Spawner Recovery
A Minecraft Java Edition datapack that allows players to recover and reuse mob spawners with Silk Touch while preserving the original mob type.
β¨ Features
- βοΈ Recover mob spawners using Silk Touch
- π§ Preserve the original mob type
- π Automatically restore the spawner when placed
- βΎοΈ Place multiple spawners without manually resetting anything
- π§© Generic system supporting different mobs
- πͺΆ No mods required
- βοΈ Uses Minecraft's native datapack system
π― How it works
When a player breaks a mob spawner with Silk Touch, the datapack stores the mob type inside the recovered spawner.
When the spawner is placed again:
- The placement is detected.
- A raycast searches for the newly placed spawner.
- The stored mob type is read from
custom_data. SpawnDatais restored.SpawnPotentialsis restored.- The spawner is ready to spawn the original mob again.
The system is completely generic and does not require a separate function for each mob.
π§ͺ Tested Mobs
The datapack has currently been tested successfully with:
- π₯ Blaze
- π Skeleton
- π§ Zombie
- π·οΈ Spider
Other mobs using standard mob spawners should work with the same system.
π¦ Installation
- Download the datapack from the Files section or the latest release.
- Place the datapack inside your world's
datapacksfolder. - Start or reload the world.
- Run
/reload. - The datapack is ready to use.
The datapack does not require any mods.
π οΈ Usage
Obtain a mob spawner with Silk Touch.
Break the spawner normally with the Silk Touch tool.
Place the recovered spawner again.
The datapack automatically restores the original mob type.
No command is required between placements.
βοΈ Technical Details
The datapack uses:
minecraft:custom_dataSpawnDataSpawnPotentials- Advancements
- Functions
- Scoreboards
- Raycasting
The mob identifier is read dynamically from:
minecraft:custom_data.spawner_mob
This allows the same functions to handle different mob types without hardcoding individual mobs.
π Requirements
- Minecraft Java Edition
- Minecraft 26.2
- No mods required
π§ Development Status
π’ Functional — v1.0.0
The core recovery and restoration system has been tested with multiple mob types and repeated spawner placement.
π License
See the repository for licensing information.
π€ Author
Created by CpyBad.

