When getting off a vehicle, such as a minecart, the player will be placed within 1 block of the minecart instead of directly on top. This can lead to the death of a player when teleported off a minecart into lava or above a cliff, or great annoyance when teleported into the water off a boat.
In the attached pictures, the red wool represents the the locations to which the player is teleported.
Here's a video of the bug affecting minecarts: https://www.youtube.com/watch?v=NbTQ0oct6ck&feature=em-upload_owner
Linked issues
relates to 2
Attachments
Comments 8
Confirmed for
1.8.5 for Minecarts, but might be intended as you would push else the Minecart/Boat/Horse away (Maybe the game should rather test if the position next to the Minecart is valid)
Relates to MC-55710
Is this still an issue in the latest snapshot 16w44a? If so please update the affected versions.
This is an automated comment on any open or reopened issue with out-of-date affected versions.
Adding a screenshot (
[media]) that shows 4 setups. 2 of them (on the right side of the screenshot) dismount the player on the location of the minecart, the other two (left side of the screenshot) drop the player off 1 block to the side and one block down. The game will test for a cliff when dismounting the player, but it does not check for lava, causing the player to be dropped in lava in certain circumstances. The feature of dropping a player off to the side is intentional, it just doesn't properly check if the spot it picks is safe. The issue of being dropped off a cliff does not seem to be present in 18w05a.
If you get into the minecart in the second setup from the left in the screenshot and run the command: /execute at @p if block ~1 ~ ~ lava run say hi, it will execute and display "hi" in chat. This is because the player hitbox is partly in the ground (
[media]), which might be causing an issue if the game checks for lava 1 block below the y level of the player when attempting to find a safe spot to dismount. If you fill the top layer with lava in the setup to the far right in the screenshot, the same result occurs, the player is dropped on the location of the minecart.
There is a priority for which direction a player will be dropped off from a minecart (stationary, does not matter which way it faces), from highest to lowest priority: N, S, NE, SE, NW, SW, E, W. This is useful for testing purposes, it does not pertain to the bug itself.
Boats seem to dismount players in the direction they (the player) are facing, rather than prioritizing a safe spot on land over a spot in the water.
Boats dismounting the player outside a diagonal wall could be considered an exploit rather than a simple bug given the right circumstances, though it may be a very rare occurrence where it can be used effectively on a server.
Hope this information is helpful/useful for fixing the issue or for testing purposes.
@unknown is right.
Players are supposed to dismount onto blocks next to their vehicle. There are problems with dangerous locations, now tracked in MC-101364 - the other aspects of this ticket describe behavior that is either correct or has already been fixed as part of other bug fixes.
Confirmed, there's something weird about boats. You get teleported slightly and sometomes boats randomly breaks (SMP), it doesn't happen all the time tho'.