mojira.dev
MC-213922

Shulkers are not spawned in the correct place

The bug

Shulkers teleport after generating, causing them to be positioned incorrectly when the player reaches the end city. This is caused by the fact that shulkers now generate one block above where they used to generate.

Well-known example

In previous versions (1.16.5), a shulker always spawned in front of the block between the two chests:

[media]


However, in 21w03a and above, the shulker spawns one block above where it previously generated:

[media]

This causes it to instantly teleport when the chunk is loaded, causing the shulker to be placed in a completely different place than it is supposed to:

[media]

 

How to reproduce

  1. Create a world in 1.16.5

  2. Enter the end (/execute in the_end run tp @s ~ 100 ~)

  3. Find an end city containing an end ship (making use of the /locate endcity command may help)
    ✔ A shulker generates in front of the block between the two chests, as intended

  4. Create a world in 21w05a

  5. Repeat steps 2-3
    ❌ The shulker is not in the same place, as it has teleported as soon as it spawned

Additional information

This issue clones MC-213542. That report was resolved as Incomplete by @unknown, as the expected behavior, and what the issue really was, were not present in the description.

Linked issues

Attachments

Comments 2

can confirm in 21w03a

most likely caused by entity state change, like when it teleports if a play harms it enough. but this, it most likely acts as if it suffocates in an air block.

[Mod] markderickson

Erik Broes

Confirmed

Important

Mob spawning

21w05a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w14a, 21w16a

21w19a

Retrieved