The Bug:
Some entities are summoned inside blocks when using spawn eggs against walls.
It's important to note that this issue only affects entities with large hitboxes. Below is a list of these. Please note that this list may be incomplete.
Affected Entities:
Camels
Elder guardians
Hoglins
Iron golems
Horses
Magma cubes
Polar bears
Slimes
Spiders
Turtles
Zoglins
Steps to Reproduce:
Obtain a spawn egg that summons any of the entities listed above.
Use the spawn egg against a wall and observe the entity's behavior closely.
Take note as to whether or not some entities are summoned inside blocks when using spawn eggs against walls.
Observed Behavior:
Entities are summoned inside blocks which occasionally causes them to suffocate.
Expected Behavior:
Entities would not be summoned inside blocks. They should instead be summoned adjacent to blocks.
Linked issues
is duplicated by 20
relates to 4
Attachments
Comments 21
This issue also affects large salmon when removed from a bucket. Sometimes, they suffocate if placed directly next to a block. Should I create a new ticket for this?
I’ve decided to create a separate ticket (MC-279909) since the behavior of where mobs spawned from buckets spawn differs significantly from spawn eggs.
This behaviour does not occur with normal Guardians.