Minecraft wiki entry for Spawner_traps, associated text: Step 1
Step 2, Note: Glass is optional.
Step 3, Note: Any way to lure a vindicator works.
Step 4 (Have a Name Tag with "Johnny" in it).
Step 5: Profit!