[MC-2023] Minecart rails break when moved with a block under certain conditions Created: 03/Nov/12  Updated: 23/Aug/24

Status: Reopened
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.3, Minecraft 1.4.7, Snapshot 13w03a, Snapshot 13w04a, Snapshot 13w09b, Minecraft 1.5, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 1.7.4, Minecraft 14w02c, Minecraft 14w03a, Minecraft 14w03b, Minecraft 14w25b, Minecraft 1.8.1-pre3, Minecraft 15w44b, Minecraft 15w45a, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w35a, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 17w48a, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1, Minecraft 1.13.2-pre2, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w03b, Minecraft 19w03c, Minecraft 19w04a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a, Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 3, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1 Pre-Release 2, Minecraft 1.14.1, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 1, Minecraft 1.14.3 Pre-Release 2, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 1, Minecraft 1.14.4 Pre-Release 2, Minecraft 1.14.4 Pre-Release 3, Minecraft 1.14.4 Pre-Release 4, Minecraft 1.14.4 Pre-Release 5, Minecraft 1.14.4 Pre-Release 6, 1.14.4 Pre-Release 7, 1.14.4, 19w34a, 19w35a, 19w37a, 19w38b, 19w38a, 19w39a, 19w40a, 19w41a, 19w42a, 19w44a, 19w45a, 19w45b, 19w46a, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w19a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08b, 21w10a, 21w11a, 21w13a, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Release Candidate 2, 1.17, 1.17.1, 21w42a, 22w03a, 1.18.2, 1.19 Release Candidate 2, 1.19, 1.19.2, 1.19.3, 23w04a, 23w05a, 23w06a, 1.20.1, 1.20.2, 24w34a
Fix Version/s: None

Type: Bug
Reporter: [Helper] Jack McKalling Assignee: Unassigned
Resolution: Unresolved Votes: 44
Labels: experimental_redstone_fixed, piston, rail, rails

Attachments: PNG File 2022-01-27_19.31.20.png     PNG File 2024-08-21_00.15.58.png     PNG File pistons bug.png     PNG File pistons bug2.png     PNG File pistons bug3.png    
Issue Links:
Duplicate
is duplicated by MC-9990 Rails break when pushed up by pistons Resolved
is duplicated by MC-16911 Rails will be destroyed by Pistons Resolved
is duplicated by MC-44008 Pistons can push minecart rails in al... Resolved
is duplicated by MC-58438 Piston + Slime Block Doesn't Move Rail Resolved
is duplicated by MC-101557 Rails drop when pushed up by piston Resolved
is duplicated by MC-128625 Pushing rails randomly destroys them ... Resolved
is duplicated by MC-135108 Rails in the fly machine will de broken. Resolved
is duplicated by MC-252428 Rail breaks when pushed or pulled by ... Resolved
is duplicated by MC-252715 Invincible rail bug Resolved
is duplicated by MC-253245 Rails break when the block underneath... Resolved
is duplicated by MC-266311 Rails glitching when powered by pisto... Resolved
Relates
relates to MC-75716 Pistons can create ghost blocks of rails Open
relates to MC-179573 Ghost rail is created when pushing a ... Open
relates to MC-204889 Slanted minecart rails break after be... Open
relates to MC-148474 Sloped powered detector rails break w... Resolved
CHK:
Confirmation Status: Confirmed
Category:
Minecart
Mojang Priority: Normal
Area: Platform

 Description   

The Bug

Pushing and pulling a minecart rail simultaneously with the block it's on will cause the rail to break once the extension/retraction has completed. This holds true for normal rails, powered rails, and detector rails.

Note:

  1. A ghost rail can also be created in this setup when the rail breaks (see MC-75716).
  2. The directional randomness in the described setup has been fixed with the 24w33 redstone experiment. The lever closer to the piston is now consistently is the one which causes the rail to break. The rail breaking is the only remaining bug here with the experiment enabled.


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

The rail breaking and leaving behind a 'ghost rail' still exists, but the directional randomness of the issue is fixed with the 24w33a redstone experiment:

The lever 'closer' to the pistons will always be the one to result in a ghost rail being created/the rail breaking. I've added the 'experimental_redstone_fixed' label indicating that the randomness is fixed, however the behavior of MC-75716 still exists.

Comment by Brain81505 [ 05/Jul/23 ]

Can confirm in 1.20.1

Comment by Brain81505 [ 11/Feb/23 ]

Can confirm in 23w06a

Comment by Brain81505 [ 01/Feb/23 ]

Can confirm in 23w05a

Comment by Brain81505 [ 25/Jan/23 ]

Can confirm in 1.19.3 and 23w04a

Comment by Wntiv Senyh [ 07/Jun/22 ]

This could be fixed by postponing the rail's check for a block beneath it till the next tick (ie in the code check for unsupported rails BEFORE performing piston pushes, this would delay rail check to the next tick)

Comment by esoij [ 05/Jun/22 ]

Can confirm in 1.19-rc2

Comment by FX - PR0CESS [ 28/Jan/22 ]

So just to clarify what is actually happening here. It's not random or sometimes happens.
It's redstone update order.

All you need to create this bug is have the power source update the bottom piston before the top piston. It's that simple!

What's a reliable way to do this you may ask?

Comment by [Helper] Jack McKalling [ 03/Aug/20 ]

I've rotated and mirrored the exact same structure in all directions now, and the results of whether the rail breaks and leaves a ghost block (red) or behaves normally (green) is consistent and seems directional. I can't figure out exactly how or why, but this is what it does:

Comment by Conem [ 17/Jun/20 ]

Confirmed in 1.16-pre7.

Comment by Conem [ 15/Jun/20 ]

Confirmed in 1.16-pre6.

Comment by Conem [ 12/Jun/20 ]

Confirmed in 1.16-pre5.

Comment by Conem [ 10/Jun/20 ]

Confirmed in 1.16-pre3.

Comment by [Helper] Jack McKalling [ 13/May/19 ]

Confirmed for 1.14.1

Comment by [Helper] Jack McKalling [ 09/May/19 ]

Confirmed for 1.14.1 pre-2

Comment by [Helper] Jack McKalling [ 07/May/19 ]

Confirmed for 1.14.1 pre-1

Comment by [Helper] Jack McKalling [ 23/Apr/19 ]

Confirmed for 1.14

Comment by [Helper] Jack McKalling [ 18/Apr/19 ]

Confirmed for 1.14 pre-5

Comment by [Helper] Jack McKalling [ 17/Apr/19 ]

Confirmed for 1.14 pre-4

Comment by [Helper] Jack McKalling [ 16/Apr/19 ]

Confirmed for 1.14 pre-3

Comment by [Helper] Jack McKalling [ 15/Apr/19 ]

Confirmed for 1.14 pre-2

Comment by [Helper] Jack McKalling [ 10/Apr/19 ]

Confirmed for 1.14 pre-1

Comment by [Helper] Jack McKalling [ 08/Apr/19 ]

Confirmed for 19w14b

Comment by [Helper] Jack McKalling [ 03/Apr/19 ]

Confirmed for 19w14a

Comment by [Helper] Jack McKalling [ 29/Mar/19 ]

Confirmed for 19w13b

Comment by [Helper] Jack McKalling [ 27/Mar/19 ]

Confirmed for 19w13a

Comment by [Helper] Jack McKalling [ 21/Mar/19 ]

Confirmed for 19w12b

Comment by [Helper] Jack McKalling [ 20/Mar/19 ]

Confirmed for 19w12a

Comment by [Helper] Jack McKalling [ 14/Mar/19 ]

Confirmed for 19w11b

Comment by [Helper] Jack McKalling [ 13/Mar/19 ]

Confirmed for 19w11a

Comment by [Helper] Jack McKalling [ 28/Feb/19 ]

Confirmed for 19w09a

Comment by [Helper] Jack McKalling [ 13/Feb/19 ]

Confirmed for 19w07a

Comment by [Helper] Jack McKalling [ 07/Feb/19 ]

Comfirmed for 19w06a

Comment by [Helper] Jack McKalling [ 31/Jan/19 ]

Confirmed for 19w04b and 19w05a

Comment by [Helper] Jack McKalling [ 24/Jan/19 ]

Comfirmed for 19w04a

Comment by [Helper] Jack McKalling [ 19/Jan/19 ]

Confirmed for 19w03c

Comment by [Helper] Jack McKalling [ 17/Jan/19 ]

Confirmed for 19w03b

Comment by [Helper] Jack McKalling [ 16/Jan/19 ]

Confirmed for 19w03a

Comment by [Helper] Jack McKalling [ 09/Jan/19 ]

Confirmed for 19w02a

Comment by [Helper] Jack McKalling [ 12/Dec/18 ]

Confirmed for 18w50a, as above

Comment by [Helper] Jack McKalling [ 05/Dec/18 ]

Confirmed for 18w49a, the above conclusions still apply

Comment by [Helper] Jack McKalling [ 03/Dec/18 ]

I think the problem is more complicated or incomplete from above observations.

I tested the same configuration in four different mirrored orientations (more exist even!), and the problem doesn't happen consistently. Observe the piston orientations and each lever. Red blocks lead to dropped rails, green ones don't.

pistons bug2.png

Comment by [Helper] Jack McKalling [ 03/Dec/18 ]

Thanks. I've summarized your and my findings in one hopefully more convenient screenshot. (as of screenshot, in 18w48b)

Comment by Fabian Röling [ 03/Dec/18 ]

Apparently the sharing setting wasn't correct before. Should be fixed now, everyone should be able to view the file.

Comment by Fabian Röling [ 03/Dec/18 ]

OBS isn't properly set up yet, so the file is too big for an attachment: https://drive.google.com/open?id=1BV3xRXw_iAclGNIPndg9hTU8eo0oz0i3

Comment by [Helper] Jack McKalling [ 03/Dec/18 ]

Please show picture of what you're doing where it drops the rail, as I cannot reproduce.

I've tried all orientations and positioning I could think of that would follow the rule "rail and the block it is attached to". The only way my rails drops is when I push the block below it but not the rail itself.

Comment by Fabian Röling [ 29/Nov/18 ]

It's different now (18w48a), but definitely not fixed: Pushing a rail and the block it's on sideways together (or a diagonal rail and the block it's leaned on) drops it, but the rail is still there visually (ghost block).

Up/down movement seems to be completely fine.

Comment by [Helper] Jack McKalling [ 29/Nov/18 ]

Pushed both the rails plus the block that supports it, yes.

Comment by liach [ 29/Nov/18 ]

Did you push with the block it's on?

Comment by [Helper] Jack McKalling [ 29/Nov/18 ]

Does not appear to happen anymore in 18w48a. Might have been fixed earlier.

Comment by Kraif [ 19/Oct/18 ]

Confirmed for 1.13.2-pre2.

Comment by Kraif [ 22/Aug/18 ]

Confirmed for 1.13.1.

Comment by Kraif [ 15/Aug/18 ]

Confirmed for 18w33a.

Comment by Kraif [ 08/Aug/18 ]

Confirmed for 18w32a.

Comment by Kraif [ 01/Aug/18 ]

Confirmed for 18w31a.

Comment by Kraif [ 28/Jul/18 ]

Confirmed for 1.13 & 18w30b.

Comment by Fabian Röling [ 22/Jun/16 ]

Confirmed for 1.10.1.

Comment by Galaxy_2Alex [ 24/Oct/14 ]

Reopened, Thanks.

Comment by Ian [ 24/Oct/14 ]

Confirmed to still be an issue in 1.8.1pre3.

Comment by Ian [ 22/Jan/14 ]

Affects beta 14x03b. When retracting the rails, all are broken. When pushing the rails, all are broken, but the visual of the rail typically remains (you get the rail back but it looks like it is there; when you place a minecart on it, both the rail and the minecart disappear).

Comment by Michael Turner [ 15/Mar/13 ]

Confirmed in 1.5.

Comment by Michael Turner [ 27/Feb/13 ]

Confirmed in 13w09b.

Comment by Michael Turner [ 07/Feb/13 ]

Confirmed in 13w05b and 13w06a.

Comment by Michael Turner [ 25/Jan/13 ]

Confirmed in 13w04a.

Comment by Michael Turner [ 21/Jan/13 ]

Confirmed in 13w03a. Really want my train station to work again.

Comment by Ian [ 06/Dec/12 ]

If you put the rail and the block underneath it on an ABBA circuit, it works (push block first and then rail to extend, pull rail first then block to retract). I agree that it shouldn't be that way, and you should be able to push them both at the same time, but that is a currently working fix (used that for my toggleable destination train station).

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