Give Dragon Egg
Get the dragon egg without having to chase it into a portal
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Gives you the dragon egg directly — a purely decorative block that normally spawns atop the End portal after defeating the Ender Dragon. Right-clicking it makes it teleport, so punch it instead if you want to move it. Place it in your base as a trophy.
/give @p dragon_egg- Java: yes
- Bedrock: yes
- Command block: no
- Needs cheats / OP: yes
How to use
- Open chat (T on Java, / on Bedrock) and paste the command.
- Press Enter — the egg appears in your inventory.
- Place it as a decorative block; punch (left-click) it to move it without triggering the teleport mechanic.
Related commands
Give Elytra
Get a pair of elytra wings
Give 64 Firework Rockets (Flight 3)
Get elytra-boosting rockets with maximum flight duration
Give Night Vision Potion (Extended)
Get a long potion for seeing in the dark
Give Fire Resistance Potion (Extended)
Get a long potion to survive lava and fire
Give Netherite Upgrade Smithing Template
Get the template needed to upgrade diamond gear to netherite
Give Brush (Archaeology Tool)
Get the brush for excavating suspicious blocks