There are a ton of illegally placed spawners on my server. I want to create a command block that replaces them with air blocks whenever a player is near them rather than trying to hunt them all down and delete them myself. Is this possible?
How big is the area you need to plow through? And is it at aspecific y level? You can always set up armorstands which move every tick and detect their collision block and replace it with air if its a spawner, but this would only work for a line in 1 direction to be depleted of spawners