Dragon Egg
The dragon egg is a gravity-affected block that can be obtained only once per world (or twice in Bedrock Edition[1]) by defeating the ender dragon. It teleports to avoid being mined, but drops as an item if it falls onto a non-full block such as a torch or is pushed by a piston.
The dragon egg is available in the Creative inventory. It can be obtained with pick block or the /give command, or placed in the world with commands such as /setblock and /fill.
The dragon egg usually cannot be mined directly, as trying to do so causes it to teleport within a 31×15×31 volume centered on the egg, with locations toward the center more likely. If all air blocks in that area are filled so there is nowhere for the egg to teleport to, or if it fails to find an air block after 1,000 attempts at teleporting, it can be mined.
Local game data
Dragon Egg
Complete article available
This cached Wiki page is unusually large, so it is loaded on demand to keep the initial page fast.