Description
Get spawners using a silk touch pick and place them wherever you want. It also works with trial spawners.
The drop chance can be modified in the config file that gets created when first starting Minecraft with this mod, which also supports Mod Menu (Fabric) to see and change this value that can go from 0.0 (never drops) to 100.0 (always drops).
Server side mod.
It needs the Fabric API (the Fabric version) (the Forge version doesn't have any dependencies)
Source code can be found at: https://github.com/katanya04/mine-spawners
Source code for Forge version at: https://github.com/katanya04/mine-spawners-forge
You can ask me in the comments to port it to another version and I may try it.