mojira.dev
MC-113938

onInitialSpawn does not test if the additional mob for spider or chicken jockeys collides

The bug

The method net.minecraft.entity.EntityLiving.onInitialSpawn(DifficultyInstance, IEntityLivingData) (or rather the methods overriding it) does not check if the additional mob for spider or chicken jockeys collides when they are spawned.

This report is not about ridden entities not considering the passenger height when moving, suffocating the passengers. That is reported as MC-477.

How to reproduce

  1. Create a Superflat world with the following preset

    minecraft:stone,minecraft:air,2*minecraft:stone_slab
  2. Search for Skeletons

    /execute as @e[type=skeleton] run data modify entity @s Glowing set value 1b

    ❌ The head of the Skeletons riding the spiders is inside the slabs

Affected classes

Based on 1.11.2 decompiled using MCP 9.35 rc1

Class

Description

EntitySpider

Spawned skeleton

EntityZombie

Spawned chicken

Linked issues

Comments 4

confirmed for 1.13.2
edit: you can see the skeleton is suffocating as the spider climbs the wall

@@unknown, I removed your attachment and edited your comment because it looks like you misunderstand the report. To be fair, it was not super obvious, without knowning what the methods do, what exactly the report was about. I hope it is clearer now.

This report is only about the spawning of these mobs. Their movement and suffocation resulting from it is described by MC-477.

Is this still the case now that MC-103516 is fixed?

Still seems to be the case in 1.18.1. I have now added new reproduction steps. Though the code references are most likely outdated.

marcono1234

(Unassigned)

Confirmed

(Unassigned)

chicken-jockey, collision, jockey, skeleton, spider-jockey

Minecraft 1.11.2, Minecraft 17w06a, 1.18.1, 24w40a

Retrieved