Dragon Egg

A dragon egg is a block that spawns on top of the bedrock portal created by the defeat of the Ender Dragon in The End. When they are clicked by the player, it will teleport several blocks away. They currently have no explicit purpose, but are tricky to collect. One of the ways to collect them is to make them teleport off the bedrock they spawn on, dig the block underneath the block the egg is on top of, place a torch in that place and break the block underneath the egg; it will drop as an item. Another way to obtain the egg is placing a piston facing the dragon egg and then pushing the dragon egg. Be careful not to let the dragon egg fall into the portal. And as last you punch a block near the dragon egg and then slowly move to the dragon egg without releasing the mouse button. Punching with the hand is enough to break it.

They currently serve no purpose, other than as a trophy or decoration.

Behavior
Clicking on the egg in survival or creative causes it to teleport to a place nearby (up to seven blocks vertically and fifteen blocks horizontally), creating the same particles as Endermen, Nether Portals, and Ender Chests. It may teleport into the air and subsequently fall to ground.

Like Sand, Gravel, primed TNT, and Anvils, Dragon Eggs fall when unsupported (due to the fact that they are affected by gravity), and if they land on a non-solid block, (such as a Torch, Slab or Tall Grass) they will drop as a resource. They cannot suffocate the player by falling onto them.

To obtain the dragon egg, the player may push it with a piston or place any non-solid block (like a torch) under the block the egg rests on and then destroy that block so the egg falls onto it. It is possible for the player to hit one while it is still moving to the point it breaks, however this is difficult. You may also use a parried sword to break the egg and get it that way. It is also possible to obtain a dragon egg in Creative by using the /give command or by defeating the dragon.

The dragon egg will not burn in lava upon teleportation or falling.

Creative
In creative mode you can get the dragon egg by using this command: /give 122 1.

Trivia

 * Ironically, Ender Dragons destroy Dragon Eggs when passing through them.
 * The writer of the Minecraft comic WonderCraft, Samcube, was requested by Mojang to create official Minecraft posters. In part of these works, one can see an area with an Ender Dragon and a chicken on top of a Huge Mushroom. In the same scene the dragon egg is visible near the chicken.
 * The achievement The End. features a Dragon Egg as its icon. Its icon used to be a Monster Spawner block in the 1.9 pre-releases 3/4/5, due to the lack of Dragon Eggs at this time.
 * When hit with Flint and Steel, a Dragon Egg might break with one hit or teleport and appear in a new position, but still broken.
 * In Creative mode, if you obtain an egg as a resource, it is treated as an unlimited block like everything else in your inventory. You can then place Dragon Eggs infinitely.
 * Dragon eggs emit dark purple particles when they teleport.
 * The dragon egg can be considered the rarest block due to the fact that it only spawns once per world.
 * The dragon egg will sometimes fall into void when teleporting.
 * While falling, the dragon egg is a special case of the falling sand and gravel entity.
 * The dragon egg can be placed into an Item Frame just like any other item.
 * A Wither Skull can break a Dragon Egg causing it to drop as a resource.
 * The dragon egg's side sticks out into adjacent blocks, so if it falls into a one block space, the sides will clip through the blocks.
 * When sitting on an opaque block, the dragon egg's bottom textures are missing.
 * In 1.4.4, a falling Dragon Egg will look like an opaque block (A cube shape, not the normal shape), which looks very similar to the obsidian block's texture.
 * When a Dragon Egg is duplicated, the entity it drops will glitch and usually jump to blocks up to 3 blocks away.
 * When falling onto a Sign, a dragon egg will break and drop its item.