Dismounting a horse with a fence on the player's right leaves the player on the wrong side of the fence
Current Behavior, 1.11:
Dismounting a horse next to a fence / glass pane / iron bars, with the fence on the player's right, places the player on the other side of the fence.
Original ticket
When travelling on a minecart heading east/west, with a fence (or glass pane, or iron bars etc.) to the north, if the player exits the card they will end up on the wrong side of the fence. This also happens when travelling north/south with a fence to the west, and does not happen in the other two possibilities. It also doesn't happen with any full-sized block e.g. glass blocks. Reproduced on single and multiplayer (I discovered it while in a glass-lined tunnel underneath a lava lake... ouch)
(Directions are per the F3 menu)
Linked Issues
is duplicated by14
relates to4
- Fixed
Connor Steppie
Philip Cass
[Mojang] Georgii Gavrichev- 237
- 25
- Confirmed
- bed dismount fence horse minecart pig side
1.4.2 - 18w30b
1.4.2 1.4.3 1.4.7 13w05b 13w10b 1.5.1 1.5.2 13w19a 13w23b 13w24a 13w24b 1.6.4 1.7.2 1.7.9 14w21b 14w25a 14w25b 14w32b 1.10.2 16w32a 16w33a 1.11 1.11.2 17w06a 17w13b 17w14a 17w15a 17w18b 1.12-pre1 1.12-pre2 1.12-pre6 1.12 1.12.1-pre1 1.12.1 1.12.2-pre1 1.12.2 18w03b 18w21b 1.13-pre2 1.13-pre3 1.13-pre5 1.13-pre6 1.13-pre7 1.13-pre8 1.13-pre9 1.13-pre10 1.13 18w30a 18w30b- 1.8 18w32a
Created Issue:
In certain directions, exiting a cart next to a fence leaves the player on the wrong side of the fence
When travelling on a minecart heading east/west, with a fence (or glass pane, or iron bars etc.) to the north, if the player exits the card they will end up on the wrong side of the fence. This also happens when travelling north/south with a fence to the west, and does not happen in the other two possibilities. It also doesn't happen with any full-sized block e.g. glass blocks. Reproduced on single and multiplayer (I discovered it while in a glass-lined tunnel underneath a lava lake... ouch)
(Directions are per the F3 menu)
is duplicated by
relates to
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
relates to
is duplicated by
is duplicated by
relates to
relates to
is duplicated by
is duplicated by
In certain directions, exiting a cart/horse/pig next to a fence leaves the player on the wrong side of the fence
In certain directions, exiting a cart/horse/pig/bed next to a fence leaves the player on the wrong side of the fence
is duplicated by
is duplicated by
relates to
relates to
is duplicated by
relates to
When travelling on a minecart heading east/west, with a fence (or glass pane, or iron bars etc.) to the north, if the player exits the card they will end up on the wrong side of the fence. This also happens when travelling north/south with a fence to the west, and does not happen in the other two possibilities. It also doesn't happen with any full-sized block e.g. glass blocks. Reproduced on single and multiplayer (I discovered it while in a glass-lined tunnel underneath a lava lake... ouch)
(Directions are per the F3 menu)
Current Behavior, 1.11:
Dismounting a horse next to a fence / glass pane / iron bars, with the fence on the player's right, places the player on the other side of the fence.
Original ticket
When travelling on a minecart heading east/west, with a fence (or glass pane, or iron bars etc.) to the north, if the player exits the card they will end up on the wrong side of the fence. This also happens when travelling north/south with a fence to the west, and does not happen in the other two possibilities. It also doesn't happen with any full-sized block e.g. glass blocks. Reproduced on single and multiplayer (I discovered it while in a glass-lined tunnel underneath a lava lake... ouch)
(Directions are per the F3 menu)
In certain directions, exiting a cart/horse/pig/bed next to a fenceleaves the player on the wrong side of the fenceDismounting a horse with a fence on the player's right leaves the player on the wrong side of the fence
is duplicated by
Still affects the boat.
Priority minor is not adequate.
Where to patch: (using MinecraftCoderPack class and methods names)
Entity.java
public void unmountEntity(Entity par1Entity)
There are two loops (on X and Z axis)
for (double dX = -1.5D; dX < 2.0D; ++dX)
for (double dZ = -1.5D; dZ < 2.0D; ++dZ)
inside these loops checked for emptiness eight blocks around player and one_level_up - see getOffsetBoundingBox(dX, 1.0D, dZ);
Block above the fence is empty, and player placed in relative coords (-1.5, 1.0, -1.5) to the north or to the west. It is exactly on wrong side of the fence.
Solution:
1. Add outer loop for (double dY = 0D; dY < 1.5D; ++dY) // optional, but i think it is normal to exit from minecart to the ground, not into air.
2. Make loops bounds smaller: for (double d = -1.0D; d < 1.1D; ++d) // important. With this values exiting is also on sibling block, but if it is something like fence - player will stand on it.
P.S.: Sorry for ugly english
Also it is duplicate of #MC-1489
Duplicate of: MC-1489 - Please use the search function to see if your bug has already been submitted.
Currently 27% of tickets are being closed as duplicate.
Can confirm. Issue since ever. Maybe caused by the logic that the player is placed besides the track, not on the track, see MC-1489
Confirmed.
See the setup shown in the screenshots:
In 1.5.2 the player lands behind the glass wall either if leaving the minecart by right click or destroying the cart (see MC-1489)
In 13w25c the player lands behind the glass wall if leaving the minecart by LSHIFT bug remains on the rails when destroying the cart.
Please do not mark issues as private, unless your bug report is an exploit or contains information about your username or server.
Duplicate of Unresolved
MC-1489
If you have not, please use the search function in the future, to see if your bug has already been submitted. If you could not find the original report, please comment with the keywords you searched for.
If you would've search for "horse dismount", you would've found some reports about this bug. These are all duplicates of MC-1489.
When dismounting from a minecart or using activator rails in the North/West directions you get ejected forward; however, in the South/East directions you get ejected backwards (as I think should be the case). See the green spaces in the default case screenshot for where you get ejected currently.
There is further inconsistencies to which side you get ejected on between the N/W and S/E directions. They should probably all be made consistent (red wool in default case screenshot if South is the primary/correct one).
Things get further inconsistent with walls in the way which causes issues like MC-1489 (I've teleported through glass panes this way), where in some cases you eject on the track (which is good), but not always (especially in the north case as in the 'blocked case' screenshot). Not sure if this means it is also related to MC-36482. It seems like if you can't eject off the track, you should eject on the track behind the activator rail.
North is up in all screenshots - attached my test world as well (which shows minecart ejection is the same as activators and that the same issue occurs if the activator is powered by detection rail or not).




Editing to note that it affects the current prerelease (1.4.3) as well. Also, as expected, it also bugs out on stone walls (basically any block that should be impassible but has a collision box smaller than a whole block)
I noticed this first in 1.3 and it has behaved consistently this way for me as well through 1.4.3. It caused most of my train station stops to not be very usable as they are all enclosed by fences. Thanks for a good description of this problem Philip!
Duplicate #
MC-2265Is this still an issue on 1.4.4?
Yes, the problem continues in 1.4.4.
This realy needs to be fixed !
cause i normaly add fences to prevent mobs from walking on the trackline, and building alltime 3 blocks high istn a good solution.
My dubplicate bug: https://mojang.atlassian.net/browse/MC-2265 (didnt found this one)
Before fixing look at https://mojang.atlassian.net/browse/MC-2265?focusedCommentId=21484&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-21484
There is an instruction how and where to fix this bug.
This is not a bug. Minecarts are supposed to deposit the player anywhere possible around it. You can place blocks at the head height of the player to prevent this from happening at that X and Z.
Anon Ymus, see my screenshots. If you have fence to the north of the tracks and the south is clear, you'll get placed besides the fence. I'd say this is a bug.
So perhaps this is a bug, but if anyone doesn't want this to happen, they can simply place blocks there. The player appears to jump when exiting the minecart, so maybe the little bit of elevation off of the tracks allows them to get over.
It's not related to elevation, because this still happens with a 2-high or 3-high fence - you can't place fence blocks to prevent this, so all you're really saying is "you can get around the fence bug by not using fences"
Try placing a block next to the fence. You won't be able to get out there.
If you place besides the fence a solid block, you'll be placed behind the cart - as expected.
But that's pointless to place a fence or glass panes and put solid blocks behind that...
When there is a hole besides the fence / glass pance you'll get placed on the small ledge remaining besides the fence, see new screenshots
I didn't mean to start a long chain of arguments. I'll just say that it is a bug and keep it at that.
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
yup, still broken. Will check latest snapshot next chance I get
EDIT: also still broken
I also had this happen when breaking a minecart containing a villager in 1.4.7 so it doesn't appear limited to just a player exiting. Hopefully the same fix will resolve it for any type of entity exiting a minecart in these circumstances.
This is still an issue in 1.5.2.
It happens both when breaking the minecart to get out and when just jumping out of it.
When breaking it, it will be left on the right side of the fence while you will be thrown out on the other side.
(Tested on Cobblestone Wall)
is still a problem in snapshot 13w24b also with horses.
Is this still a concern in the current Minecraft version 1.6.4 / Launcher version 1.2.5 ? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
This bug has been subsumed by (though doesn't duplicate)
MC-36482It's possible that resolving
MC-36482may fix this issue. Alternatively, resolving it may return the behaviour to the old, less-broken-but-still-slightly-broken behaviour described by this bugThis bug still exists in 1.7.2 and it occurs in at least three circumstances: getting off a horse, getting out of a minecart, getting out of bed. I have a bed that reliably throws me through a glass wall, and tonight I had a horse throw me through a stone wall.
Is this still a concern in the current Minecraft version 1.7.4 / Launcher version 1.3.8 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Can we get snapshot 14w21b added to the affected versions list?
OP or mod, 14w25b to the affected versions list, please.
Concerning bed issues, if the latest bed I've slept in was under a roof that only had 2 blocks of space between it and the floor, I've spawned on the floor above. If the floor above has the same amount of space, I spawn on the roof of that room.
It seems to not be a problem if the area has 3 or more blocks of space between the ceiling and the floor, though.
confirmed for 14w32b
Fixed in 1.8.
Confirmed fixed.
It is still possible to create this issue in 16w32a. Dismounting a horse on the north side of an iron bar fence when right next to it teleports you to the other side.
This issue relates to
MC-73361.No longer affects minecarts, pigs or beds. Direction of fence/pane/bars no longer matters. All that matters is that the player dismounts with the fence on their right-hand side.
Confirmed for 17w06a.
Confirmed for 17w15a.
Confirmed for 1.12-pre2.
Confirmed for 1.12.
Affects 1.13-pre6
Having difficulty reproducing this in 18w30a, may be fixed.
I was able to reproduce this behaviour, with horses and fences at least.