Portable Spawners solves a problem that I personally have. If you enter a dungeon, you might want to bring the spawner with you, but a silk touch pickaxe does not let the spawner drop. This creation let's bring the spawner with you, but in a different way than a pickaxe. You need a Fishing Rod with silk touch. You can get this by dropping a fishing rod and an enchanted book with silk touch. After that, you can drop the fishing rod on the spawner. Then, you'll get the spawner. To place the spawner, you have to drop the item on the ground.
You can't get most modified mob spawner, like a creeper spawner. You can't find those naturally. Under the heading 'Spawners and Ingredients', you can find out which spawners you can get.
The /execute command looks for a fishing rod with silk touch with a spawner underneath. If there is one, the spawner gets removed and a new spawner drops that has the same mob in it. Drop the spawner to place it down. Otherwise, it will display a pig spawner. Minecraft makes it so that you can't place down a modified spawner in survival mode. You can place them down normally in creative mode.
Here's a list of ingredients for the item and which spawners you can get. Other spawners will not work with Portable Spawners
Fishing Rod + Silk Touch book = Portable Spawners Tool
Cave Spider Spawner
Use the following steps if you have downloaded one of my creations on your world before or if you've already worked with structure blocks on your world.
Use the following steps if you haven't downloaded one of my creations on your world before or if you haven't worked with structure blocks on your world yet.