Minecraft wiki entry for Spawner_traps, associated text: Since Java Edition 1.11, you can use an anvil, nametag and a vindicator to make a monster spawner trap. First, you need to find a spawner, then you need to make a wall with a door to make no monsters to leave the trap, then lure a vindicator to inside the trap.