This datapack will add new Enchantment (Spawner Breaker) to your game.
When you break monster spawner with Spawner Breaker enchanted item it will drop Monster Spawner and Spawn Egg.
You can get Spawner Breaker Enchantment via enchanting your pickaxe on Enchantment table. If you can not find Spawner Breaker Enchantment, you should power up enchantment with Bookshelf because this enchantment needs more level (25-65) like silk touch. When first time you get this enchantment via enchanting you will get Last Spawner Breaker achivement.
When you break the Monster Spawner with Spawner Breaker Enchantment on different places you will get different monster spawn egg.
With you place broken spawner it wont spawn anything but with this eggs you can reactivate your spawner.
When you activate datapack you should rejoin your world/restart your server because adding new enchantment is experimental feature. After restart you can use it. When you want to disable datapack and done it via '/datapack disable' command you should restart/rejoin again.
If you want to support me don't forget to visit Patreon
Also you can join my Discord server