mojira.dev
MC-103934

Some entities are summoned inside blocks when using spawn eggs against walls

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:

  1. Obtain a spawn egg that summons any of the entities listed above.

  2. Use the spawn egg against a wall and observe the entity's behavior closely.

  3. 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.

Related issues

MC-102581 Polar bear suffocate when spawned using spawn egg beside a wall. MC-103383 Polar Bears = Suffocation MC-114727 Iron Golems suffocate when too close to a wall MC-136368 Mobs get stuck/suffocate when spawned against wall MC-137711 Certain mobs will float if spawned in a 1x1 area MC-140751 Spiders suffocation when spawned on side of block with an egg MC-155351 Animals get stuck in a wall. MC-163464 Honey Blocks MC-191564 Hoglin Bug MC-201069 Spawning mobs larger than 1x1 in a 1x1 space causes them to suffocate MC-201403 Turtles going through blocks MC-230568 Turtle Being Glitched into Block MC-240319 Elder Guardians can pass through blocks and worldborder when they are spawned MC-260044 Iron golem walks on walls. MC-266212 Some mobs clip into walls upon spawn. MC-273337 Iron Golems get stuck in leaves when spawned MC-276175 when u spawn entities like sniffer on the y/x axis of any block, they stick on to it. MC-298090 iron golem doesn't fall when spawned on a wall with a spawn egg

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media]
migrated

This behaviour does not occur with normal Guardians.

Avoma

Can confirm in 20w48a.

Avoma

Can also confirm in 20w49a.

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a.

Avoma

Video attached.

Avoma

Can confirm in 21w07a.

Avoma

Can confirm in 21w11a.

Avoma

Can confirm in 1.17.1.

ampolive

Can confirm in 21w42a.

migrated

Can confirm in 1.18.1. Iron Golems naturally spawned can also suffocate when too close to a block.

Avoma

Can confirm in 1.18.2. @unknown, that is a different issue and is currently being tracked at MC-189332 🙂

Avoma

Can confirm in 1.19 and 22w24a.

Avoma

Can confirm in 1.19.2.

Avoma

Hello; please could I request ownership of this ticket? There are some amendments I'd like to add to state the overall problem here as I feel it's not concisely clear. The current reporter has been inactive for over five years as well and I'm willing to refine this ticket and keep it up-to-date. Thanks in advance.

ampolive

Done.

migrated

In 1.21.1.

Gullyman4

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.

B4dAtMC

can confirm in 1.21.4

B4dAtMC

can confirm in 25w04a

Avoma

(Unassigned)

Confirmed

Platform

Low

Hitboxes

spawn_egg

Minecraft 1.10, 1.16.3, 1.16.4 Pre-release 2, 1.16.4, 20w48a, ..., 24w35a, 1.21.3, 1.21.4, 25w08a, 1.21.5

Retrieved