Minecraft wiki entry for Wither_cage, associated text: Trapping the wither with the bedrock portal is risky (before 1.9), but doable. This must be done below the center of the bedrock portal to ensure that the wither does not escape. The design is the same as the Nether ceiling cage, but with a flat bedrock platform: