Minecraft wiki entry for Phantom-proofing, associated text: Any AFK spot can be turned into a simple phantom farm. Like most other mobs, phantoms are helpless in bubble columns and take damage from magma blocks. Well-placed windows can lure phantoms to the player so they can be dragged down by downwards bubble columns and die on the magma blocks that create the columns. Hopper minecarts can then collect the drops.