mojira.dev
MC-2714

Minecarts pass through non-full-height blocks when snapping to rails

The bug

Minecarts are able to snap to rails below them even if they would pass through a block to do so, assuming the block isn't a full height block.

This happens with any non-full-height block, including:

  • Slabs

  • Soul sand

  • Grass paths

  • Farmland

  • Tripwire (The cart passes through without activating it)

  • Chests

  • Carpets

How to reproduce

  1. Place a rail

  2. Place a non-full-height block above it

  3. Place a full block above that block

  4. Place a rail on that block

  5. Place a minecart on that rail

  6. Break the block below the rail
    → ❌ The cart will snap through to the rail below it, even though there is a block in the way

Example

[media]

[media]

Related issues

Attachments

Comments

migrated
[media][media][media][media][media]
migrated

Confirmed in 13w02b.

migrated

Still a concern in 1.7.5

migrated

Still a concern in 14w10c

migrated

Confirmed for 14w11b

migrated

Is this the same bug, they can teleport through tripwires if there is a rail below?

FaRo1

Very likely.

pokechu22

They are the same bugs, or at least have the same root cause ([MC-99179] is a duplicate of this, and the behavior you're describing would also fall under [MC-99179]).

migrated

Confirmed for 18w10d

Jack McKalling

Also add carpets to the list in the description. Because minecarts also pass through carpets when snapping to the rail below.

Although I really like this behaviour.

FaRo1

Also affects lava, flowing lava, the lower part of cobwebs, sideways end rods, chorus plant, stairs if the minecart falls onto the lower part, trapdoors, enchanting tables, end portal frames, end portals, daylight detectors, turtle eggs, conduits, flower pots, skulls and the lower part of bubble columns.
But I don't think that should all be listed in the description, it already says "any non-full-height block, including [list]". Btw, I tested none of the blocks in the list, I only looked at the list of blocks in the wiki.

migrated

i can confirm that this bug is still a bug in 1.13.2

migrated

it also works on non full height blocks that are waterlogged, the waterlogged state does nothing to this bugs function

migrated

In the full flow of the conversation, did someone point out specific use cases where this is a "bad thing"? I've seen various use cases including https://youtu.be/wd8l6AsAgCM where this is used to solve specific problems to do with minecarts.

muzikbike

Affects 18w46a

Jack McKalling

Confirmed for 18w48a

Jack McKalling

Confirmed for 18w49a

Jack McKalling

Confirmed for 18w50a

Jack McKalling

Confirmed for 19w02a

Jack McKalling

Confirmed for 19w03c

Jack McKalling

Comfirmed for 19w04a

Jack McKalling

Confirmed for 19w04b

Jack McKalling

Confirmed for 19w09a

Behavioural note: it seems the minecart can't go through such a block anymore like it used to. It would snap through the slab (other affected blocks not tested) and get stuck, as opposed to continue on the rail. I'm unsure whether this is caused by another bug, as there are other new bugs with minecarts.

Jack McKalling

Confirmed for 19w11b

Jack McKalling

Confirmed for 19w12b

Jack McKalling

Confirmed for 19w13b

Jack McKalling

Confirmed for 1.14 pre-1

Jack McKalling

Confirmed for 1.14 pre-3

Jack McKalling

Confirmed for 1.14 pre-5

Jack McKalling

Confirmed for 1.14

Jack McKalling

Confirmed for 1.14.1 pre-1

Jack McKalling

Confirmed for 1.14.1 pre-2

Jack McKalling

Confirmed for 1.14.1

TheBoy358

Confirmed in 19w45b.

ampolive

Can confirm in 1.17.1 Pre-release 1. Also affects powder snow.

WoutZeester1

Also happens with trapdoors. Video attached.

migrated

Still an issue as of 1.18.1

migrated

Can confirm as of 22w03a

pulpetti

Still in 1.18.2 and 22w12a.

migrated

Still an issue as of 1.19.1

NBG-bootmgr

Can confirm in 1.19.2 and Minecarts can go through sculk sensors and shrieker

Brain81505

Can confirm in 23w06a and 1.19.3

migrated

Can confirm in 1.19.4

migrated

This applies to all variants of minecarts, normal, hopper minecart, chest minecart, tnt minecart and furnace minecart.

[Mod] Jingy

Fixed with the 24w34a minecart experiment:

[media]

muzikbike

(Unassigned)

Confirmed

Platform

Low

Collision, Minecart

blocks, experimental_minecart_fixed, minecart, rail, slab

Minecraft 1.4.2, Minecraft 1.4.7, Snapshot 13w02b, Minecraft 1.5, Minecraft 1.7.4, ..., 23w14a, 1.20.2, 24w21b, 1.21, 1.21.4

Retrieved