Minecraft wiki entry for World_boundary, associated text: The player is able to build up to y=320, and down to y=-64. However, one can still fly with creative mode or elytra, or use explosives/slime blocks and pistons to get past y=320.