mojira.dev
MC-53445

Dismounting minecarts in negative X or Z coords can kill a player

In negative X or Z locations, dismounting a minecart on a track next to a ledge, or on a 1 wide track can cause a player to dismount over an air block. This issue is similar to MC-36482, however the fix put in place making the dismount radius smaller doesn't fix the potential to harm players.

Example of the issue:
https://www.youtube.com/watch?v=hEWbUOhESBs
(Note, this was recorded in the previous snapshot, but I've since tested it on the most current)

Steps to reproduce:
Move to an X and/or Z position that is negative and make a 1 wide North-South and a 1 wide East-west rail suspended in the air. Leaving the minecart (Depending on your location) will leave you falling from the air to whatever is below.
Attached a screenshot to show exactly where the dismount locations are (The redstone blocks indicate where the player dismounts)

Finally:
In MC-36482 ElNounch explained the problem and the fix by flooring the values, and I've had someone make said changes to his vanilla minecraft, and the minecarts in -x and -z were no longer deadly.

Related issues

Attachments

Comments

migrated
[media]
migrated

Just tested on most current snapshot, issue still exists.

migrated

This error stems from the assumption that numerical truncation in Java is equivalent to flooring (it isn't). Until this is sorted, make your suspended Nether/End rails 3+ blocks wide for sure.

migrated

Since the snapshots are focusing more on bug fixes... can this one please get some attention? 😃

migrated

Confirmed for 14w31a.

migrated

Just verified the issue still exists.

As a note: Dan Shemp (In the comments) built me a custom minecraft server.jar with a fix to the function that calculates where a player dismounts, as detailed by ElNounch in MC-36482, and it is working perfectly for my server.
How can we get some attention to this small, annoying and lethal bug? 🙂

galaxy_2alex

Reopened, thanks

migrated

Just confirmed for 15w38b

migrated

I think this one is fixed after testing on 15w43b.

migrated

(Unassigned)

Confirmed

death, minecart

Minecraft 14w17a, Minecraft 14w18a, Minecraft 14w18b, Minecraft 14w19a, Minecraft 1.7.10, ..., Minecraft 15w34b, Minecraft 15w34c, Minecraft 15w34d, Minecraft 15w38a, Minecraft 15w38b

Retrieved