Dragon Egg
Block

Dragon Egg

Namespaced ID
minecraft:dragon_egg
Legacy numeric ID
122(1.8 & earlier)
Stack size
64
Edition
Java & Bedrock

/give command

Run in chat or a command block. Replace @p with a player name to target someone specific.

Command builder

Set the count, custom name, lore, and enchantments to generate a ready-to-paste /give command for Dragon Egg.

Shown above the item in the inventory.
Italic text shown below the item name. One line per row.
1 compatible with Dragon Egg.

Component syntax for Minecraft 1.21.8.

Block properties

Hardness
3
Blast resistance
9
Material
default
Diggable
Yes
Transparent
Yes
Light emitted
1 / 15
Light filtered
0 / 15
Block state IDs
8200

Mining time

Break time per pickaxe tier (no haste, on ground, full air). Tools that can't harvest the block take 5× longer and won't drop the item.

PickaxeBreak timeDrops?
Wooden2.25s
Stone1.13s
Iron0.75s
Golden0.38s
Diamond0.56s
Netherite0.50s

Drops

Obtained from

Blocks and mobs that drop Dragon Egg.

Across versions

Legacy numeric ID
122 (pre-1.13, from 1.8)
Modern ID (1.13+)
minecraft:dragon_egg (numeric IDs were removed in 1.13 — not usable in commands)
Editions
Java & Bedrock

Browse the full item list for a specific version:

About Dragon Egg

Where do you get Dragon Egg in Minecraft?

Dragon Egg can be obtained by breaking Dragon Egg, or by killing Ender Dragon.

What is the Minecraft ID for Dragon Egg?

The namespaced ID is minecraft:dragon_egg, used in the /give command: /give @p minecraft:dragon_egg 1. In legacy versions before 1.13, Dragon Egg used the numeric ID 122. Numeric item IDs were removed in the 1.13 "Flattening" and no longer work in modern commands.

How do you mine Dragon Egg in Minecraft?

Dragon Egg has hardness 3. Any tool works. Mining without the correct tool takes 5× longer and produces no drops.