mojira.dev
MC-1291

SMP - Minecarts and other ridden entities - Player Invisible When Getting Off / Players floating

When riding minecarts, with my friends on our server,
we can no longer see eachother when one leaves his/her minecart.

The players turns invisible for one another until one logs out and in again.

Linked issues

MC-2174 A weird teleport glitch after someone gets off a minecart (please watch video) Resolved MC-2517 Invisible players. [Minecart, Pig, Boat] Resolved MC-2795 When using a boat elevator and the person gets out, they will always be invisible. Resolved MC-4141 SMP On Boat and lag Server appears position mismatch of other Players Resolved MC-5287 players and minecarts are being rendered at the wrong spot in MP Resolved

Comments 14

Even when driving from a location far away of other players (not streamed in) a single cart will drive and it will take time for the player to display.

This also happens on my LAN server. Though the player turns visible after a few minutes.

Also after entering/exiting (can't remember) a cart sometimes the player displays at distanced places and walks through walls for a few seconds. I'll try to get that as video.

Mikael H. Karlsson

Me and a couple friends experience this frequently on a server hosted by a friend off his computer. As soon as the player riding a cart moves out of your loaded chunks range, what is it 15x15 chunks, his model will often remain at that location. If you ride a cart up after him you'll see his model hovering in air without flapping there only to disappear after a little while or as you approach. But when arriving both players will usually not see each other until after a while or a relog.

I can confirm what Mikael Hartwig-Karlsson wrote. Very annoying.

4 more comments

Ugh. That's kind of a kludge to get around the kludgy code that's already there. I tried to simplify that mess and ended up about where you did. Except it shouldn't be necessary with the changes to mounting in 1.6.1, or more specifically, the changes to unmounting. Since you no longer dismount by right-clicking the mount, but instead push the sneak key, EntityPlayer should no longer need to override mountEntity, and the check for "this.ridingEntity != par1Entity" should go right in NetClientHandler.HandleAttachEntity.

I see what you mean. I completely forgot they changed it. After testing in 1.6.1 the bug does appear to be fixed.

Rickard Åberg

It is still a concern in the 1.8.1-prereleases, both with boats and horses... not sure about minecarts tho'.

Reopened, thanks

Can't confirm in 1.10.

Marcus _PReP_ Comet

(Unassigned)

Confirmed

invisible, minecart, player

Minecraft 1.4.2, Snapshot 12w49a, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w05b, ..., Snapshot 13w21b, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.7.4, Minecraft 1.8.1-pre3

Retrieved