[MC-1291] SMP - Minecarts and other ridden entities - Player Invisible When Getting Off / Players floating Created: 30/Oct/12 Updated: 03/May/17 Resolved: 10/Jun/16 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Minecraft 1.4.2, Snapshot 12w49a, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w05b, Snapshot 13w10a, Snapshot 13w10b, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 1.5.2, Snapshot 13w21b, Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 1.7.4, Minecraft 1.8.1-pre3 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Marcus _PReP_ Comet | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 22 |
| Labels: | invisible, minecart, player | ||
| Environment: |
Linux (Arch Linux) 64-Bit, OpenJDK7 |
||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Game Mode: | Survival | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
When riding minecarts, with my friends on our server, The players turns invisible for one another until one logs out and in again. |
| Comments |
| Comment by Fabian Röling [ 10/Jun/16 ] |
|
Can't confirm in 1.10. |
| Comment by Galaxy_2Alex [ 31/Oct/14 ] |
|
Reopened, thanks |
| Comment by Rickard Åberg [ 31/Oct/14 ] |
|
It is still a concern in the 1.8.1-prereleases, both with boats and horses... not sure about minecarts tho'. |
| Comment by Sollace [ 01/Jul/13 ] |
|
I see what you mean. I completely forgot they changed it. After testing in 1.6.1 the bug does appear to be fixed. |
| Comment by [Mod] Torabi [ 30/Jun/13 ] |
|
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. |
| Comment by Sollace [ 30/Jun/13 ] |
|
Players appear to be jumping around because the game uses the same packet to mount and unmount entities. Ive made some changes that appear to fix the floating players. I haven't experienced any players becoming invisible though. In EntityPlayer add the following method: EntityPlayer.java public void mountEntitySpecial(Entity par1Entity) { if (this.ridingEntity != par1Entity) { super.mountEntity(par1Entity); } } In NetClientHandler change the handleAttachEntity method: NetClientHandler.java (Before) if (riderEntity != null) { ((Entity)riderEntity).mountEntity(riddenEntity); } NetClientHandler.java (After) if (riderEntity != null) { if (riderEntity instanceof EntityPlayer) { ((EntityPlayer)riderEntity).mountEntitySpecial(riddenEntity); } else { ((Entity)riderEntity).mountEntity(riddenEntity); } } |
| Comment by Rickard Åberg [ 10/Feb/13 ] |
|
It exists in the snapshots too, last one i checked was 13w05b. |
| Comment by Holger [ 23/Dec/12 ] |
|
Still in 1.4.6. At high altitude I was able to observe the behaviour on short tracks. There I even got one minecart driving UNDER the track. By the way: die player avatar is still sitting at the place where he started the ride (On long tracks the avatar mainly stuck somewhere standing along the track). |
| Comment by Tails [ 09/Dec/12 ] |
|
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. |
| Comment by Meta [ 31/Oct/12 ] |
|
I can confirm what Mikael Hartwig-Karlsson wrote. Very annoying. |
| Comment by Mikael H. Karlsson [ 31/Oct/12 ] |
|
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. |
| Comment by Meta [ 30/Oct/12 ] |
|
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. |
| Comment by Jentu [ 30/Oct/12 ] |
|
This also happens on my LAN server. Though the player turns visible after a few minutes. |
| Comment by Meta [ 30/Oct/12 ] |
|
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. |