mojira.dev
MC-11659

Some thrown projectiles disappear if you save and quit immediately after throwing it

Some projectiles that are thrown, such as eggs, disappear when you save and quit and then start the world again.

Currently affects:
Eye of Ender

Linked issues

Attachments

Comments 25

Confirmed in 13w11a.

I figure that if a mob's momentum and direction is saved upon quitting, then it shouldn't be that difficult to do the same for these entities.

It should be noted that this bug is slightly different for Eggs than it is for other entities - Ender Pearls and Eye of Ender still have Entity IDs and Network IDs, "ThrownEnderpearl" 14, and "EyeOfEnderSignal" 15, respectively. However, Egg's Entity ID of "Egg" and its Network ID (I don't know what it was; the wiki didn't start tracking Network IDs until after Blaze Fireballs, Potions, etc., which may in fact have taken Egg's Network ID) have been removed from the game altogether.

The difference to note is: Ender Pearls and Eye of Ender are serializable, which is why they only sometimes vanish upon reload (I've managed to get Eye of Ender and its particles to reappear for a moment when reloading the world; not sure why they're so prone to vanishing). Eggs, on the other hand, are not serializable at all, and thus never re-appear when reloading the world. This also means that although it's possible to create Ender Pearl and Eye of Ender spawners, an Egg spawner will crash the game.

Upon further experimentation, it seems that there's an issue when deserializing Eye of Ender: it always loads, but immediately despawns, meaning you rarely actually see it. Similar results can be seen in an Eye of Ender spawner - the eyes do spawn, and even have a chance to create particles, but vanish right away and never actually move.

I've yet to experience vanishing ender pearls - there's a strong indication that all three of these bugs have completely different causes (to the point that their fixes would be unrelated). Is this grounds for splitting the ticket apart, or no? I suppose keeping them together will keep the votes together too.

After messing around with some mods, mainly the Tornado mod, I noticed that a bunch of other entities are either deleted or reset when reloading the world.

In some instances, in multiplayer, throwing an Ender pearl and leaving the world will teleport a different player. How this happens, I don't have any idea. But it happens.

15 more comments

Confirmed for 1.7.4 and 14w04b.

14w11b

Confirmed for 14w18b.

Confirmed that this bug is still present in the official 1.8 release. In fact, you don't need to quit to see this bug since it also affects entities that are in mid-air when you unload a chunk (like when you travel from one dimension to another). The entities are simply deleted whenever the chunks are unloaded rather than saved with the chunk.

Still now fixed in 15w31a with eye of enders

FireHunterX

michael

Confirmed

Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w17a, ..., Minecraft 14w04b, Minecraft 14w11b, Minecraft 14w18b, Minecraft 1.8, Minecraft 15w31a

Retrieved