The magic carpet supplies new transportation to the inventory of Minecraft. Flying Potion and carpet blocks with a 3x2 grid are required.
Details[]
Carpets have already been added now we should be able to enchant them and fly on them! You must enchant them with a flying potion. Then you place them on any surface you wish and right click on it with an open hand. Then you will be sitting on it. You must press "f" to be able to fly. Then use the "w, a, s, and d" keys or arrow keys to move around. Eventually, the carpet will start to flash and you must quickly dismount it. An explosion will happen and the normal carpet you enchanted it with, reappear unharmed. Re-enchant it and the magic carpet will come again.