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 other than pigs
- Notice the lack of a miniature
(A spawner minecart that is not customised will spawn pigs, but requires light and grass to actually spawn them. They too lack a mob inside).
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 Marcono1234 can be found in this comment.
Linked Issues
is duplicated by5
- Unresolved
[Mod] Anthony Cicinelli
Qwert225
- 36
- 18
- Confirmed
Low
- Platform
- Minecart Networking
- spawner_minecart
1.7.10 - 24w34a
1.7.10 14w32a 14w32b 14w32c 14w32d 14w33c 14w34a 14w34b 14w34c 14w34d 1.8-pre1 1.8-pre2 1.8 1.8.1 1.8.3 1.8.4 1.8.5 1.8.6 15w47c 15w50a 1.9-pre2 1.15.2 20w07a 1.16.1 20w29a 20w30a 1.16.2-pre1 1.16.2-pre2 1.16.2-pre3 1.16.2-rc1 1.16.2-rc2 1.16.2 1.16.3-rc1 1.16.3 1.16.4-pre1 1.16.4-pre2 1.16.4-rc1 1.16.4 20w45a 20w46a 20w48a 20w49a 20w51a 21w03a 1.16.5 21w05b 21w06a 21w07a 21w11a 21w14a 21w17a 1.17 1.17.1 21w40a 1.18.1 1.18.2 1.19 1.19.2 1.19.4 24w34a
Created Issue:
Inside Minecart with Spawner is always shown pig
Inside Minecart with Spawner is always shown pig miniature, even if spawner is customized. Minecart on the image spawns customized skeletons, but inside it is shown pig.
Bug found in Minecraft 1.7.2
Environment
Windows 7
is duplicated by
is duplicated by
is duplicated by
Inside Minecart with Spawner is always shown pig miniature, even if spawner is customized. Minecart on the image spawns customized skeletons, but inside it is shown pig.
Bug found in Minecraft 1.7.2
To reproduce:
1. Summon a Minecart with Spawner that spawns mob other than pig.
2. Notice the pig miniature.
relates to
Inside Minecart with Spawner is always shown pig miniature, even if spawner is customized. Minecart on the image spawns customized skeletons, but inside it is shown pig.
Bug found in Minecraft 1.7.2
To reproduce:
1. Summon a Minecart with Spawner that spawns mob other than pig.
2. Notice the pig miniature.
Could you please include that?
is duplicated by
Inside Minecart with Spawner is always shown pig miniature, even if spawner is customized. Minecart on the image spawns customized skeletons, but inside it is shown pig.
Bug found in Minecraft 1.7.2
To reproduce:
1. Summon a Minecart with Spawner that spawns mob other than pig.
2. Notice the pig miniature.Inside Minecart with Spawner is always shown pig miniature, even if spawner is customized. Minecart on the image spawns customized skeletons, but inside it is shown pig.
Bug found in Minecraft 1.7.2
To reproduce:
1. Summon a Minecart with Spawner that spawns mob other than pig.
2. Notice the pig miniature.
Code analysis by Marcono1234 can be found in this comment.
Windows 7
Inside
Minecart withSpawner is always shown pig miniature, even if spawner is customized. Minecart on the image spawns customized skeletons, but inside it is shown pig.Bug found in Minecraft 1.7.2
To reproduce:
1. Summon a Minecart with Spawner that spawns mob other than pig.
2. Notice the pig miniature.
Code analysis by Marcono1234 can be found in this comment.
The bug
Inside minecart with spawner is always shown a pig miniature, even if spawner is customized. Minecart on the image spawns customized skeletons, but inside it is shown a pig.
How to reproduce:
- Summon a minecart with spawner that spawns mobs other than pigs
- Notice the pig miniature
Note
This issue is currently blocked by
MC-110426as the mob miniature can no longer be seen at all.Code analysis
Code analysis by Marcono1234 can be found in this comment.
is blocked by
The bug
Inside minecart with spawner is always shown a pig miniature, even if spawner is customized. Minecart on the image spawns customized skeletons, but inside it is shown a pig.
How to reproduce
:
- Summon a minecart with spawner that spawns mobs other than pigs
- Notice the pig miniature
Note
This issue is currently blocked by
MC-110426as the mob miniature can no longer be seen at all.Code analysis
Code analysis by Marcono1234 can be found in this comment.
is duplicated by
is blocked by
The bug
Inside minecart with spawner isalways shown a pig miniature, even if spawner is customized.Minecart on the image spawns customized skeletons, but inside it is shown a pig.How to reproduce
- Summon a minecart with spawner that spawns mobs other than pigs
- Notice the
pigminiatureNote
This issue is currently blocked by
MC-110426as the mob miniature can no longer be seen at all.Code analysis
Code analysis by Marcono1234 can be found in this comment.
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 other than pigs
- Notice the lack of a miniature
(A spawner minecart that is not customised will spawn pigs, but requires light and grass to actually spawn them. They too lack a mob inside).
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 Marcono1234 can be found in this comment.
InsideMinecart with Spawner isalways shown pigContent of Minecart with Spawner is not sent to the client
is duplicated by
is duplicated by
Can confirm in 1.19.3
relates to
Create a spawner for example with:
/setblock ~ ~ ~ mob_spawner 0 replace
and the entity is always a pig. That bug seemed to first appear in some 15w32 snapshot.
Possibly relates to MC-65065 which has this behaviour with Minecart Spawners.
resolving to MC-65065
Resolving this as a dupe of MC-65065, since the underlying issue is the same (the contents of the spawner minecart is not sync'd with the client), even though the resultant behavior is different (I'll put more info in the comments of that ticket). If you want, I can transfer ownership of that ticket for you.
Relates to MC-65065
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-65065, which is a report that has not been resolved yet.
If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord
Thank you for your report!
We're tracking this issue in MC-110427 and MC-65065, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit



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
Confirmed for
The rotation also doesn't stop if the player gets out of range
In the latest snapshots, not sure which one, the entity seems to have disappeared completely?
Confirmed for 15w47c
Confirmed for
The reason for that is, that the func_151260_c() method in the /Client/src/net/minecraft/entity/EntityTrackerEntry.java class (MCP 1.8 names) sends a S0EPacketSpawnObject packet for minecarts. This packet is only able to store one additional integer for special information. However for minecarts this integer is used to represent the minecart type. This means the client does not get the information about which mob is visible.
One way to "fix" this would be to override the method NBTTagCompound func_174819_aU() in the /Client/src/net/minecraft/entity/ai/EntityMinecartMobSpawner.java class to either return all NBT data or only the entity to spawn. As updating packets are not send every tick, it might be better to send all the data to make sure the displayed mob changes at the right point for the client. This would also require to add code to the func_174834_g(NBTTagCompound p_174834_1_) method in the /Client/src/net/minecraft/entity/Entity.java class to just call the readEntityFromNBT(NBTTagCompound tagCompund) method. Or adding a data watcher for these fields might work as well, but I am not too familiar with how they work.
There is no entity in spawner minecart for 1.9-pre2
Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.
This is an automated comment on any open or reopened issue with out-of-date affected versions.
Currently this cannot be reproduced due to being blocked by
MC-110426.After some more investigation, I've decided that
MC-110426should be merged into this ticket. The actual difference that caused the mob to stop rendering is mundane: Mojang removed the call to TileEntityMobSpawnerRenderer.renderMob(minecart.func_98039_d(), minecart.posX, minecart.posY, minecart.posZ, partialTicks) in RenderMinecartMobSpawner in 15w33a (for 1.9; it exists in 15w32c). The underlying issue of the mob inside not being sent to the client still exists, and could be fixed nowadays with NBT entity metadata (as is done with parrots on players). Were the rendering to be re-enabled without fixing the syncing, the pig issue would resurface. This ticket already listed versions where the mob didn't render for a few versions, so it is bit more confusing to try to keep them separate.In 1.16.1 and 20w29a
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a.
Can confirm in 21w07a.
Can confirm in 21w11a.
Can confirm in 1.16.5 and 21w14a.
Can confirm in 21w17a.
Affects 1.17
Can confirm in 1.17.1.
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.