Dragon egg does not check whether there is a block under the destination when teleporting
The Bug
Dragon egg does not check whether there is a block under the destination when teleporting.
May cause the dragon egg to fall into the void.
Steps to Reproduce
- Create a Superflat world:
100*minecraft:air,minecraft:glass;minecraft:plains
- Place a dragon egg.
- Right-click it to make it teleport.
- Note that the dragon egg will teleport into the air and fall into the void.
Code analysis provided by [Mod] Avoma
Linked Issues
is duplicated by1
- Unresolved
[Mod] Les3awe- 8
- 3
- Confirmed
- Block states
- dragon_egg
1.17.1 - 25w05a
1.17.1 21w37a 21w38a 21w40a 21w43a 1.18-pre1 1.18-pre2 1.18-pre3 1.18-pre4 1.18-pre5 1.18-pre7 1.18-rc3 1.18-rc4 1.18 1.18.1-rc1 1.18.1 22w06a 1.18.2 1.19 1.19.1-rc2 1.19.1-rc3 1.19.1 1.19.2-rc1 1.19.2 22w42a 22w43a 1.19.3-rc1 1.19.3 23w04a 23w06a 1.19.4-rc1 1.19.4-rc3 1.19.4 23w16a 23w17a 23w18a 1.20-pre1 1.20-pre2 1.20-pre3 1.20-pre4 1.20-pre5 1.20-pre6 1.20-pre7 1.20-rc1 1.20 1.20.1-rc1 1.20.1 23w31a 23w32a 23w33a 23w35a 1.20.2-pre2 1.20.2-rc1 1.20.2 23w40a 23w41a 23w42a 23w43b 23w44a 23w45a 23w46a 1.20.3-pre2 1.20.3-rc1 1.20.4 23w51b 24w03b 24w04a 24w05b 24w06a 24w07a 24w09a 24w11a 24w12a 24w13a 24w14a 1.20.5-pre1 1.20.5-pre3 1.20.5-rc2 1.20.5 1.20.6-rc1 1.20.6 24w18a 24w21b 1.21-pre2 1.21-pre4 1.21 24w33a 1.21.1 24w34a 24w35a 24w36a 24w37a 24w38a 24w39a 1.21.2-pre3 24w44a 1.21.3 1.21.4 25w02a 25w03a 25w05a
Created Issue:
Dragon egg does not check whether there is a block under the destination when teleporting
Dragon egg does not check whether there is a block under the destination when teleporting.
May cause the dragon egg to fall into the void.
relates to
The Bug
Dragon egg does not check whether there is a block under the destination when teleporting.
May cause the dragon egg to fall into the void.Steps to Reproduce
- Create a Superflat world:
100*minecraft:air,minecraft:glass;minecraft:plains- Place a dragon egg.
- Right-click it to make it teleport.
- Note that the dragon egg will teleport into the air and fall into the void.
The Bug
Dragon egg does not check whether there is a block under the destination when teleporting.
May cause the dragon egg to fall into the void.Steps to Reproduce
- Create a Superflat world:
100*minecraft:air,minecraft:glass;minecraft:plains- Place a dragon egg.
- Right-click it to make it teleport.
- Note that the dragon egg will teleport into the air and fall into the void.
Code analysis by [Avoma|Avoma]
The Bug
Dragon egg does not check whether there is a block under the destination when teleporting.
May cause the dragon egg to fall into the void.Steps to Reproduce
- Create a Superflat world:
100*minecraft:air,minecraft:glass;minecraft:plains- Place a dragon egg.
- Right-click it to make it teleport.
- Note that the dragon egg will teleport into the air and fall into the void.
The Bug
Dragon egg does not check whether there is a block under the destination when teleporting.
May cause the dragon egg to fall into the void.Steps to Reproduce
- Create a Superflat world:
100*minecraft:air,minecraft:glass;minecraft:plains- Place a dragon egg.
- Right-click it to make it teleport.
- Note that the dragon egg will teleport into the air and fall into the void.
The Bug
Dragon egg does not check whether there is a block under the destination when teleporting.
May cause the dragon egg to fall into the void.Steps to Reproduce
- Create a Superflat world:
100*minecraft:air,minecraft:glass;minecraft:plains- Place a dragon egg.
- Right-click it to make it teleport.
- Note that the dragon egg will teleport into the air and fall into the void.
Code analysis provided by [Mod] Avoma
is duplicated by
Thank you for your report!
We're tracking this issue in MC-231663, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.


This issue is different from MC-174759.
MC-174759 mainly states that the dragon egg can teleport to -Y.
Can confirm.
I am able to confirm this behavior in 21w38a though, this may be a duplicate of
MC-229536. Please correct me if I'm wrong as I'm not 100% sure.@[Mod] Avoma
MC-229536is about the dragon eggs can teleport in the air.This issue mainly focuses on whether to check that there is void below the dragon eggs.
Ahh, I see. Thank you for this info
Can confirm in 1.18.1.
Here's a code analysis of this issue.
Code Analysis:
The following is based on a decompiled version of Minecraft 1.18.1 using MCP-Reborn.
If we look at the above class, we can see that no checks are carried out to see whether the block below the dragon egg's teleportation destination is air. The only checks that are in place are to see whether or not its desired teleportation destination is air, and is within the world border. This is evident through the following line of code:
if ($l.getBlockState(blockpos).isAir() && worldborder.isWithinBounds(blockpos))Because of this, dragon eggs can teleport on top of any block.
Can confirm in 22w06a.
Can confirm in 1.18.2.