The right and left side of the minecart entity model will clip through blocks it is up against.
Steps to Reproduce:
Place down a rail block
Surround the rail in any full cube block
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.
Linked issues
is duplicated by 1
relates to 2
Attachments
Comments 14
Affects 1.17
Relates to MC-225398
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.
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.
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.