When this datapack is loaded into a realms map, this DOES work for the most part, however:
/scoreboard players set &break_spawner config.mineablespawner 0
/scoreboard players set &break_spawner config.mineablespawner 1
/scoreboard players set &break_spawner config.mineablespawner 2
/scoreboard players set &break_spawner config.mineablespawner 3
Value 1: when you try to mine the spawner with a silk touch pickaxe, it isn't dropping the spawner, but when setting the value to 0 to break it with ANY pickaxe, it does pick up.
- Value 0: (Any Pickaxe) works as intended. (But may not be intentionally <sheer luck>, as the others aren't working as intentional)
Value 2: (with any tool or by hand) does 'NOT' allow you to pick it up with any tool / hand but it does allow pickaxes in general (Not just silk touch)
Value 3 (Doesn't Drop) is also with any pickaxe.