Minecraft wiki entry for Defense, associated text: Make a floating island house and parkour on from a nearby mountain. This is highly inconvenient, but almost completely immune to mob invasion. You must also make a separate shelter for a mine.