Testing villager dismount as seen in video https://youtu.be/Q2VK6w44JNw?t=11m36s using activator rails to dismount a villager onto a plate (turning off activator rails) as seen in the video. For my test as seen in the screenshot, the villager will only dismount onto the rail, even with glass at the villager's head height over the rail and no plates at nearby or ground-level open spots diagonally adjacent to the activator rail. According to https://minecraft.gamepedia.com/Activator_Rail "eject mobs (including players) from minecarts as if a player had used the sneak control to exit the minecart (by default, one block to the right of the direction the minecart is moving and up to two blocks up, unless blocked)", but I can not seem to provoke this behavior in a test condition in a private world on 1.2.9.1.
Linked issues
is duplicated by 1
Attachments
Comments 7
Have you tested this in different orientations? i.e. is the dismount tended towards east for example?
I built as simple a test condition as I could think of, an "L" shape with powered rails alternating with activator rails so I had both orientations. As I had this doubled with "pockets" on both sides, this should also validate the villager going "up and over" either direction, so I should have all four directions covered in this design. The "pockets" are valid landing sandstone blocks (not slabs). Glass is outside to keep the villager from falling out should they be teleported. I first set the cart running back and forth. I dropped in one villager, and he would alternatively pop into and be picked back up again by the cart. I then put glass blocks at head height so they would not suffocate, but as you can see from the latest image they "pop" one block under the rail rather than the "up & over" as described by the wiki. I'm not clear what other tests I could do or how I could provoke the villager to dismount as seen in the video (MCJE) mentioned in my initial post. Sorry for the delay, long hours at work and I have to have a clear head to try to think this thing through.
Confirmed in 1.9.0. In Bedrock, an active activator rail ejects a mob slightly upward and one block to the right, to the left, or behind the activator rail as viewed looking in the direction the minecart is traveling. In contrast to the description given for Java Edition on the wiki, the mob will not be displaced one or two blocks upward if the target area is obstructed. Instead, the next target area is tried. An obstruction is detected if the mob's hit box would intersect the hit box of any other block at the target position.
The effective area that must be free of obstructions varies with the size of the mob. When ejected on the right or left side, the mob is placed close to the side of the block in the direction the minecart came from. This causes its hit box to extend backward into the adjacent block. For a villager, the effective area is a 1 x 2 block area 3 blocks high. However, because the mob is ejected slightly upward, a bottom slab or other low block in this area will not obstruct it.
When ejected behind the activator rail, the mob is placed near the side of the block adjacent to the activator rail, so its hit box extends above the activator rail. For reasons unknown, the obstruction-free area is one block shorter, so for a villager it is 1 x 2 but only 2 blocks high. If this area is obstructed, the mob will be pushed into the block containing the activator rail if it is not obstructed; otherwise it will remain in place and may begin to suffocate.
Notes:
The above rules do not apply to players. Players are apparently always ejected to the back unless that position is obstructed.
Mobs can pathfind while riding a minecart, and this will affect the minecart's momentum. There are hints that this can slightly influence where they are ejected. The target areas described above are for mobs that are idling in place, and might need to be enlarged by 1 block for mobs that are pathing in some direction.
I have attached a world, MCPE-30744 demo, that can be used to experiment with where mobs are ejected by an activator rail.
Cleaning up old tickets: This ticket has not been updated recently (~1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
I attempted replacing the glass with a solid block to suffocate the villager unless put in a "valid" spot... the "dismount" simply put the villager one block deeper into the dirt under the rail rather than any "up & over" valid (non-suffocating) spots. Unless I can figure out how to force the villager to dismount somewhere OTHER than on the rail, pulling villagers out of minecarts without breaking the minecart. And if the dismount is messed up there also, this could be a real problem for villager transport using minecarts.