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.
/setblock ~2 ~2 ~ spawner
/summon minecraft:spawner_minecart ~2 ~ ~
/give @s minecraft:blaze_spawn_egg
/tick freeze
Right-click the spawner with the spawn egg (you cannot do the same to the minecart due to MC-110427)
/data modify entity @n[type=minecraft:spawner_minecart] {} merge from block ~2 ~2 ~
Break the floating spawner block
/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
is duplicated by 3
relates to 2
Attachments
Comments 28
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).
Please add steps to reproduce.