Modern Silk Touch Spawners
Any tool with the Silk Touch enchantment can now mine mob spawners. Just place the zip file into your world's datapacks folder, and you'll be able to freely move and place these blocks wherever you want. This is a solution that doesn't require using spawn eggs, remaining fully compatible with the survival gameplay style.
The Silk Touch Spawners modification is available not only as a datapack but also as a module for Fabric or Neoforge. We plan to regularly update the project for versions newer than 1.21. Older game versions (pre-1.21) are not currently being developed, since similar community implementations already exist for them.