mojira.dev
MC-81796

The right and left sides of a minecart can visually clip through blocks

The right and left side of the minecart entity model will clip through blocks it is up against.

Steps to Reproduce:

  1. Place down a rail block

  2. Surround the rail in any full cube block

  3. Place/Spawn any minecart variant on the rail

Observed & Expected Results:

❌ - The minecart's model will be visible through blocks despite possibly not being accessible
✔ - The minecart would not clip through the blocks

Screenshots/Videos:

[media]

Notes:

While both the right and left side of the minecart can be visible through blocks, only one side will be visibile at a given time for a minecart. This is because the minecart has a relatively random alignment when placed on rails.

Related issues

Attachments

Comments

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

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time.

migrated

Confirmed for 16w43a.

bemoty

Can confirm for MC 1.12.1.

migrated

Confirmed for 1.13.1.

j_p_smith

Confirmed in 1.15.2 and 1.16 Pre-release 6.

Avoma

Can confirm in 20w51a.

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 1.16.5 and 21w08b.

migrated

Affects 1.17
Relates to MC-225398

migrated

Affects 21w40a

[Mod] Jingy

Can confirm. Requesting ownership of this issue.
Relates to MC-167889 and MC-66894

migrated

Fixing this means making the hitbox wider, which in turn prevents minecarts from going through 1 wide holes. Either that or switching from AABB to OBB, see MC-91376.

[Mod] Jingy

I'm not quite sure how expanding the hitbox would fix this, could you clarify?

I ask, because this is a visual issue with the model (unrelated to it's collision), and it's placement on rails. To me, the fix seems to be making sure the minecart's x/z position stays consistent on rails (as right now it differs slightly on the x and z axes), and to shrink the size of the model very slightly so that it does not clip.

Edit: I see what you mean, extending the hotbox to more be a rectangle rather than square. And I agree this is not the right solution. It should still be possible to solve the issue otherwise.

[Mod] Jingy

(Unassigned)

Confirmed

Minecart

clipping, entity-model, minecart

Minecraft 1.8.7, Minecraft 1.10.2, Minecraft 16w43a, Minecraft 1.11, Minecraft 1.11.2, ..., 24w07a, 1.20.5, 1.21.1, 24w33a, 24w34a

Retrieved