Mojira Archive
MC-231663

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

  1. Create a Superflat world:
    100*minecraft:air,minecraft:glass;minecraft:plains
    
  2. Place a dragon egg.
  3. Right-click it to make it teleport.
  4. Note that the dragon egg will teleport into the air and fall into the void.

Code analysis provided by [Mod] Avoma

Unresolved

[Mod] Les3awe

2021-07-10, 08:09 PM

2025-01-31, 01:08 PM

8

3

Confirmed

Block states

dragon_egg

1.17.1 - 25w05a1.17.1, 21w37a, 21w38a, 21w40a, 21w43a, 1.18 Pre-release 1, 1.18 Pre-release 2, 1.18 Pre-release 3, 1.18 Pre-release 4, 1.18 Pre-release 5, 1.18 Pre-release 7, 1.18 Release Candidate 3, 1.18 Release Candidate 4, 1.18, 1.18.1 Release Candidate 1, 1.18.1, 22w06a, 1.18.2, 1.19, 1.19.1 Release Candidate 2, 1.19.1 Release Candidate 3, 1.19.1, 1.19.2 Release Candidate 1, 1.19.2, 22w42a, 22w43a, 1.19.3 Release Candidate 1, 1.19.3, 23w04a, 23w06a, 1.19.4 Release Candidate 1, 1.19.4 Release Candidate 3, 1.19.4, 23w16a, 23w17a, 23w18a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 3, 1.20 Pre-release 4, 1.20 Pre-release 5, 1.20 Pre-release 6, 1.20 Pre-release 7, 1.20 Release Candidate 1, 1.20, 1.20.1 Release Candidate 1, 1.20.1, 23w31a, 23w32a, 23w33a, 23w35a, 1.20.2 Pre-release 2, 1.20.2 Release Candidate 1, 1.20.2, 23w40a, 23w41a, 23w42a, 23w43b, 23w44a, 23w45a, 23w46a, 1.20.3 Pre-Release 2, 1.20.3 Release Candidate 1, 1.20.4, 23w51b, 24w03b, 24w04a, 24w05b, 24w06a, 24w07a, 24w09a, 24w11a, 24w12a, 24w13a, 24w14a, 1.20.5 Pre-Release 1, 1.20.5 Pre-Release 3, 1.20.5 Release Candidate 2, 1.20.5, 1.20.6 Release Candidate 1, 1.20.6, 24w18a, 24w21b, 1.21 Pre-Release 2, 1.21 Pre-Release 4, 1.21, 24w33a, 1.21.1, 24w34a, 24w35a, 24w36a, 24w37a, 24w38a, 24w39a, 1.21.2 Pre-Release 3, 24w44a, 1.21.3, 1.21.4, 25w02a, 25w03a, 25w05a

-