[MC-8262] Airborne minecarts rapidly lose horizontal velocity Created: 24/Jan/13  Updated: 25/Mar/21  Resolved: 25/Mar/21

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w04a, Snapshot 13w09b, Snapshot 13w09c, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.10.2, Minecraft 16w38a, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.12.2, Minecraft 18w20c, Minecraft 1.13.1, 1.15.2, 20w21a, 1.16 Release Candidate 1, 1.16, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 21w05a, 21w05b, 21w06a, 21w07a, 21w08a, 21w08b, 21w10a, 21w11a
Fix Version/s: None

Type: Bug
Reporter: Marty McFly Assignee: Unassigned
Resolution: Works As Intended Votes: 20
Labels: air, horizontal, minecart, motion, velocity

Attachments: File MC-8262.mp4     PNG File minecart horiz.png    
Issue Links:
Relates
relates to MC-113242 Minecart detaches from a rail too early Reopened
relates to MC-6286 Cannons can't push you horizontal bec... Resolved
CHK:
Confirmation Status: Confirmed
Category:
Minecart

 Description   

What happens:
A minecart that runs out of track and has no ground directly under it will slow down at a fast rate.

What I think should happen:
A minecart that runs out of track and has no ground directly under it should not lose any (or much) of its horizontal speed. An airborn minecart should only slow down quickly if it enters water or lava while falling.

How to observe:
Build straight line of blocks floating high up in the air and place powered rails on top. Use either a redstone torch, redstone block, or a lever to give the rails constant power. Then, put a minecart on the track and push it so that it starts moving. Once the minecart runs out of track on the floating blocks you created, it will start to fall down. At the same time, it will begin to quickly stop moving forward (as if the air was dense like water).


Code analysis by marcono1234 can be found in this comment



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

Can confirm in 21w05b.

Comment by Connor Steppie [ 26/Jan/21 ]

Relates to MC-8265

Comment by Marty McFly [ 07/Nov/20 ]

Can I request ownership?

Comment by Marty McFly [ 05/Nov/20 ]

Affects 20w45a

Comment by Marty McFly [ 30/Jul/20 ]

Affects 1.16.2 Pre-release 1

Comment by Marty McFly [ 19/Jun/20 ]

Affects 1.16 Release Candidate 1

Comment by [Mod] j_p_smith [ 27/May/20 ]

Confirmed in 1.15.2 and 20w21a.

Comment by Kraif [ 05/Sep/18 ]

Confirmed for 1.13.1.

Comment by Marcono1234 [ 27/Sep/16 ]

Confirmed for

  • 16w38a
Comment by Galaxy_2Alex [ 26/Sep/16 ]

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. If this has been done, we can reopen the issue.

Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. It will be reopened as soon as the requested information has been delivered.

Comment by Marcono1234 [ 18/Mar/16 ]

Please link to this comment in the description

The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.

The reason why this happens is very likely that the method net.minecraft.entity.item.EntityMinecart.moveDerailedMinecart() clamps the motion for all three axes to the "maximum speed" (0.4d). This means that it rapidly drops from about 1.1d on the power rail to 0.4d.The problem is that clamping the value between two fixed values makes little sense because the slowing down looks pretty strange then. Additionally the factor used to slow down the minecart could be changed from 0.949999988079071D to a higher value or could be made dependent from the current motion in relation to the maximum speed.

Note: Changes to this method will break existing minecart tracks.

Comment by Marcono1234 [ 18/Mar/16 ]

Confirmed for

  • 1.9.1-pre3
Comment by user-f2760 (Inactive) [ 17/Mar/16 ]

No response for over a year.

Comment by ggxl [ 28/Jun/14 ]

This may be related to the bug about players losing horizontal motion when shot out of a TNT cannon.

Comment by vilhalmer [ 28/Jan/13 ]

This has always been the case, and probably isn't really considered a bug per se, but it would be nice to see it changed. Especially now that we have TNT minecarts.

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