[MC-2783] Minecarts sometimes appear off the track Created: 11/Nov/12  Updated: 23/Aug/24

Status: Reopened
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2, Snapshot 13w02b, Snapshot 13w04a, Snapshot 13w05b, Minecraft 1.5, Minecraft 1.5.1, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w36a, Minecraft 13w36b, Minecraft 13w42b, Minecraft 13w43a, Minecraft 1.7.1, Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 14w03b, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.10.2, Minecraft 16w42a, Minecraft 17w06a, Minecraft 1.12 Pre-Release 5, Minecraft 1.12.2, Minecraft 18w01a, Minecraft 1.13.1, Minecraft 1.13.2, 1.14.4, 19w39a, 19w40a, 1.15.2, 20w11a, 1.16 Pre-release 2, 1.16.1, 20w29a, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 2, 1.16.4, 20w46a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w07a, 21w11a, 1.17, 1.17.1, 21w44a, 1.18 Pre-release 5, 1.18.2, 1.19 Pre-release 3, 1.19 Release Candidate 2, 1.19, 1.19.2, 1.19.3, 1.20.2, 1.20.3 Release Candidate 1, 1.20.6, 1.21 Pre-Release 2
Fix Version/s: None

Type: Bug
Reporter: thenobrainer Assignee: Unassigned
Resolution: Unresolved Votes: 45
Labels: experimental_minecart_fixed, minecart, rails

Attachments: PNG File 2013-09-11_18.07.38.png     PNG File 2013-09-11_18.07.48.png     PNG File 2018-01-04_16.53.45_3.png     PNG File 2020-06-19_09.01.50.png     PNG File 2020-06-19_09.01.51.png     PNG File 2020-06-19_09.03.00.png     PNG File 2021-05-08_13.59.54_6.png     File 2024-06-08 13-41-02.mp4     File 2024-08-23_12-22-32.mp4     PNG File Minecart Glitch.png     JPEG File TimBits example.jpg     PNG File screenshot 1.png     PNG File screenshot 2.png     PNG File screenshot 3.png     File what.mp4    
Issue Links:
Duplicate
is duplicated by MC-7104 Chest Minecart doesn't move on the track Resolved
is duplicated by MC-8294 Minecart appearing off rails on servers Resolved
is duplicated by MC-9064 Minecarts not moving correctly after ... Resolved
is duplicated by MC-11243 Minecart when reloading - Visual glitch Resolved
is duplicated by MC-11829 Carts glitch out when opening world Resolved
is duplicated by MC-11902 Minecart drives next to the rail Resolved
is duplicated by MC-13146 Minecarts are rendered in the wrong p... Resolved
is duplicated by MC-38569 Minecart Goes Off Rails Resolved
is duplicated by MC-38966 Minecarts spazzing off track Resolved
is duplicated by MC-40833 Minecarts riding on Ghost tracks. Resolved
is duplicated by MC-50994 Minecart turning animation is buggy Resolved
is duplicated by MC-116628 Minecart Resolved
is duplicated by MC-117838 Minecarts not rendering on rails Resolved
is duplicated by MC-158050 Minecart off track bug 1.14.4 Resolved
is duplicated by MC-174825 minecarts drive next to the tracks Resolved
is duplicated by MC-181067 Minecart position glitch Resolved
is duplicated by MC-200248 Rejoining a world causes minecarts to... Resolved
is duplicated by MC-214236 Problem with loading minecrats Resolved
is duplicated by MC-225168 minecart issue Resolved
is duplicated by MC-228149 Minecarts and collision Resolved
is duplicated by MC-240710 Minecart runs off the rail!! Resolved
is duplicated by MC-242459 Minecart renders sideways on rail Resolved
is duplicated by MC-252325 Sometimes Minecarts can be incorrect ... Resolved
is duplicated by MC-254499 Minecart going off rail. Resolved
is duplicated by MC-267161 Minecart piston push Resolved
is duplicated by MC-272917 Minecarts misaligned, not on rails as... Resolved
is duplicated by MC-831 Minecart Under Rails When Connected T... Resolved
is duplicated by MC-2883 Minecart glitch out Resolved
is duplicated by MC-3189 Minecarts Off Position from Rails Resolved
is duplicated by MC-3478 Minecart appears off the rails http... Resolved
is duplicated by MC-3694 Minecarts appear to glide off of the ... Resolved
is duplicated by MC-9128 Minecraft - Mine cart Boosters, Switc... Closed
Relates
relates to MC-2714 Minecarts pass through non-full-heigh... Open
relates to MC-170907 Network position deltas are processed... Resolved
relates to MC-158169 Minecart can visually appear on a rai... Open
relates to MC-9157 Minecarts switching tracks on closed ... Reopened
relates to MC-342 Positions of entities become offset t... Resolved
CHK:
Confirmation Status: Confirmed
Category:
Minecart, Rendering
Mojang Priority: Low
Area: Platform

 Description   

minecarts appear off the track. Its Just a Normal minecart



 Comments   
Comment by [Mod] Jiingy [ 23/Aug/24 ]

From my testing and observation this past week, this seems to be fixed with the experimental minecarts from 24w33a. I will be adding the 'experimental_minecarts_fixed' tag, please feel free to remove it if a new case comes up proving that this is not fixed yet.

As an example, here is a tick sprint with minecarts on powered rails:
2024-08-23_12-22-32.mp4
Previously, the minecarts would have cut around the corners going over blocks off of the rails, this no longer occurs.

Comment by Kaweh [ 03/Jun/24 ]

1.21 Pre-Release 2: when reloading the chunks, if one minecart unit (of for example 10 minecarts), some minecarts might bug into each other. This is as if one minecart is moving, but with a way darker shadow.

Comment by audaki [ 30/May/24 ]

This might be a duplicate of MC-170907 and fixed now in 1.21 Pre-Release 1

Comment by T1GERrising [ 22/May/24 ]

Experiencing repeatedly (very, very repeatedly) in 1.20.6.  Not just visual, also catches on mobs and other carts.  While in motion, passes through most (but not all?) solid blocks unobstructed, will also float adjacent to the track it's allegedly on.  Also causes incorrect interactions with powered rails and detector rails; carts will sometimes not be detected.  The glitch is currently making it extremely difficult to use Minecarts in the game.

Comment by Brain81505 [ 11/Feb/23 ]

Can confirm in 23w06a and 1.19.3

Comment by [Mod] ampolive [ 09/Jul/21 ]

Can confirm in 1.17.1. Happens especially with unloading and re-loading chunks, even more often with low render distances.

Comment by xander boyce [ 11/May/21 ]

its only visual

Comment by [Mod] Avoma [ 29/Mar/21 ]

Can confirm in 21w11a. Relates to MC-2714.

Comment by [Mod] markderickson [ 20/Feb/21 ]

I can confirm in 21w07a.

Comment by [Mod] Avoma [ 04/Feb/21 ]

Can confirm in 21w05b.

Comment by [Mod] Avoma [ 22/Jan/21 ]

Can confirm in 21w03a.

Comment by [Mod] Avoma [ 17/Jan/21 ]

Can confirm in 20w51a.

Comment by Marty McFly [ 30/Jul/20 ]

Relates to MC-9157 and MC-158169

Comment by pulpetti [ 16/Jul/20 ]

In 20w29a.

Comment by Marty McFly [ 24/Jun/20 ]

Affects 1.16.1

Comment by Ann [ 19/Jun/20 ]

possibly related: cart went UNDER the rails in 1/.16 RC1 (see attached screenshots)

Comment by Conem [ 08/Jun/20 ]

Confirmed in 1.16 Pre-release 2.

Comment by Connor Steppie [ 02/Oct/19 ]

Affects 19w40a

Comment by Connor Steppie [ 27/Sep/19 ]

Affects 19w39a

Comment by Connor Steppie [ 26/Sep/19 ]

Seems to affect 19w38b, can I request ownership?

Comment by [Mod] Pokechu22 [ 17/Feb/19 ]

Shown to still exist in this video (at 1:15:36), which I'd say is sufficient evidence that this still exists (even though they're using optifine) when combined with the lack of any protocol changes regarding entity motion.

Comment by Kraif [ 24/Aug/18 ]

Couldn't reproduce for 1.13.1.                                                                           

Second opinion?

Comment by Tyler [ 05/Nov/13 ]

Yes, I'm having this issue too but ti seems to only happen when you load a world and fixes itself after a few minutes.

Comment by Mason TWD [ 31/Oct/13 ]

I have gotten another picture for this, and this is still happening in 1.7.2 I think this could be useful for redstone perhaps. Also, I wasn't on a server when I got this photo, it was singleplayer, I have already reported this. (sorry, I didn't know to look

Comment by thenobrainer [ 11/Sep/13 ]

confirmed to still be there. i dont really mind it.

Comment by thenobrainer [ 11/Sep/13 ]

These show the minecart bug.

Comment by thenobrainer [ 11/Sep/13 ]

il test it now its not really that much of a problem anyway

Comment by Tails [ 02/Sep/13 ]

Is this still a concern in the current Minecraft version 1.6.2 / Launcher version 1.2.1 ? 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 bergerkiller [ 07/May/13 ]

Wanted to report it, but anyway, let me further explain what is going on here.

This is a Minecraft Server bug in the net.minecraft.server.EntityTrackerEntry class.
It contains a method that creates a spawn packet for the tracked Entity.
This spawn packet uses the 'live' entity coordinates, NOT the ones that are known and synchronized to the other players.
As a result, relative movement packets are sent later on which invalidate that 'too new' spawn message.

This issue occurs for the VehicleSpawnMessage, MobSpawnMessage and possibly others, too. It can be fixed by using the SYNCHRONIZED x/y/z/yaw/pitch values from the EntityTrackerEntry in the spawn message, instead of the 'live' coordinates of the Entity.

The live coordinates are used in the new(Entity) constructor of the packets.

A routine 'absolute update' is sent every 400 ticks/20 secs (I believe) and fixes this mismatch in that time frame. This makes this bug somewhat bearable.

For minecarts, this issue lies deeper with also issues in curves where it derails for a split second. This has to do with entity movement interpolation and is hard to fix.

Comment by kbk [ 19/Mar/13 ]

Just seen this happened in 1.5.1 pre while testing MC-1692.

Comment by thenobrainer [ 10/Feb/13 ]

no its just a normal minecart

Comment by Holger [ 28/Jan/13 ]

This seems to happen when a (storage?)minecart is moving while one is quitting the game (SSP).

The minecart is being displayed at (x,y,z-1) when being at (x,y,z).
Illumination is being computed referring to (x,y,z-1) (i.e. gets black when moving next to a solid blocks).
Apart from that the cart follows the rail quite normally: The interaction with turns, acceleration tracks, and sensor tracks is normal.

Comment by Tim Bits [ 07/Jan/13 ]

You are correct Anon Ymus - in my example the minecart is still "on the track" because it keeps going around.

Comment by Anon Ymus [ 07/Jan/13 ]

No, unrelated. This is about carts appearing off the track while still being ON them.

Comment by MisterSanderson [ 06/Jan/13 ]

Related to MC-4057? It's also a problem with minecarts turning...

Comment by Tim Bits [ 29/Dec/12 ]

Version 1.4.6 - Minecart moving in clockwise direction appears off track at about the 6:00 position and returns to the track at about the 12:00 position.

Generated at Sun Jan 12 11:59:02 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.