Minecraft – When does a monster spawner activate in minecraft

minecraft-java-edition

On the minecraft wiki entry for monster spawners, there is this statement:

A monster spawner is only active when a player is within a distance of 16 blocks from the spawner (where distance is calculated the standard (euclidean) way)

Does this calculation take into account vertical distance as well as horizontal distance?

Best Answer

To test this, I built a tower over some spawners and stayed directly over them about 15-20 blocks higher than they are.

enter image description here

As you can see, the flames have disappeared (and the spawners quit spinning, but you can't tell that from a picture), indicating that they are no longer spawning, despite me being directly over them.

So yes, it does take into account vertical distance.