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_egg19 characters
- 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
Get a diamond sword pre-enchanted with Sharpness V
/give @p diamond_sword[enchantments={sharpness:5}]Get an enchanted book with Mending
/give @p enchanted_book[stored_enchantments={mending:1}]Get a pickaxe that never breaks
/give @p diamond_pickaxe[unbreakable={}]Get a netherite sword pre-enchanted with Sharpness V
/give @p netherite_sword[enchantments={sharpness:5}]