mojira.dev
MC-65065

Content of Minecart with Spawner is not sent to the client

The bug

The mob inside a minecart with spawner is never rendered, even if the spawner is customized.

How to reproduce

Summon a minecart with spawner that spawns mobs. The steps below show how to do this without hardcoding any spawner data.

  1. /setblock ~2 ~2 ~ spawner
  2. /summon minecraft:spawner_minecart ~2 ~ ~
  3. /give @s minecraft:blaze_spawn_egg
  4. /tick freeze
  5. Right-click the spawner with the spawn egg (you cannot do the same to the minecart due to MC-110427)

  6. /data modify entity @n[type=minecraft:spawner_minecart] {} merge from block ~2 ~2 ~
  7. Break the floating spawner block

  8. /tick unfreeze

    ❌ Observe that despite the complete absence of visual indication that the spawner minecart is doing anything, it will (after a significant delay) spawn blazes as expected

Note

Note that since 15w33a, no miniature is rendered at all; prior to this verison, a pig was rendered. The attached screenshot is from before 15w33a.

Code analysis

Code analysis by @unknown can be found in this comment.

Linked issues

Attachments

Comments 28

Please add steps to reproduce.

I spawned this minecart with spawner using summon command. It spawns mobs correctly, but mob miniature is incorrect (pig instead of skeleton). Effect of this bug is only visual, it does not affect spawning.

Bug affects all minecarts with spawner in 1.7.2. Tested with 5 types of mobs, always the same result (pig miniature inside the spawner).

I can confirm this for 14w32d, though the pig is also off centered now

Still in pre2

Confirmed for 1.8

18 more comments

Affects 21w40a

Can confirm in 1.18.1

Can confirm in 1.18.2.

Can confirm in 1.19.

Can confirm in 1.19.2.

Qwert225

anthony cicinelli

(Unassigned)

Confirmed

Platform

Low

Minecart, Networking

spawner_minecart

Minecraft 1.7.10, Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w32c, Minecraft 14w32d, ..., 1.19, 1.19.2, 1.19.4, 24w34a, 1.21.5 Pre-Release 3

Retrieved