Remove all mob spawner with comand?

Ba
- in Worlds
4

I've downloaded a Minecraft world but there are far too many pug spawner there's a command with which you can make them all disappear or can be converted into another block

Da
-1

Yes in another block you can do that with / replace mob_spawner wood

All mob_spawner should actually be replaced by wood

Po

/ fill x y z x1 y1 z1 air replace mob_spawner

Po

// replace only works if you have WorldEdit

Da

That's right, thank you