mojira.dev
MCPE-36074

Villagers in Minecraft cannot be stopped on rails

Villagers in a minecart, while sitting on rails cannot be stopped from going down the rail line.  They will do this over unpowered rails, up inclines, and even guide themselves into solid blocks and die if the rail track goes underneath.   So far the only method I've been able to use is to take take off the tracks.  

Linked issues

Comments 6

I have made comments on the peculiar way rails and minecart with villagers in behave on a few reports now but nothing has changed and was thinking of opening yet another when I saw this one. General minecart behaviour got better a couple of releases ago but the latest Aquatic update has made working with villagers in minecarts really frustrating. It is almost impossible for the player to stop a minecart with a villager in, you can push a villager along a track only for it to go into reverse when it comes to a corner, if there are many villagers in minecarts going along a track they can all become bunched and jammed at a corner and the only way to stop it is to break the minecarts, pushing them onto a track is difficult because they just wiggle about and won't move, if you do manage it, regardless of the direction you have pushed them in, they will choose their own direction by turning quite arbitrarily and coming back at you at speed, baby villagers seem to have superhuman strength and can manoeuvre a minecart very easily hence pushing them into solid blocks and killing the villagers inside (why a minecart is allowed to go into a solid block or fence does not make sense) Something I had noticed was that if you press the trade button the minecart will behave but as soon as you close the trade screen the minecart takes on a mind of its own again. I will probably get told off for putting a long list of complaints on a bug report but I am confirming that you cannot stop a minecart by either putting a block in front of it, an unpowered rail, which I thought was supposed to stop something dead in it's tracks, and carts will just go straight through a player. Is minecart behaviour something that the developers know about and are working on to get back to what it used to be?

So I've been working around this problem by dropping villagers onto blocks without rails then piston pulling those blocks to drop them again when i need them to get moving.

Voted. I tried getting villagers out of my iron farm and over to a trading hall and wrangling them ~100 blocks away was a challenge. For a while I'd just hope they took off in the right direction with me running behind them breaking every 20th rail and dropping down a block to stop them if they decided to reverse direction.

I then set up directional powered rails (only pushes them in the direction I want them to go), and they seemed not to resist that. I never had one reverse direction after they had been pushed by the powered rail. The end point of the rail line, at the trading hall, has a gap in the rail, so they stop there waiting for me to push them onto the last segment (inside the hall) which leads them to their stall. They resist being pushed onto that last bit of rail quite strongly. As soon as the cart "locks on" to the rail, the villager pushes it back off (still pining for the village I presume).

Need to make them passive in carts.

Adding a comment to make sure this call is not closed. This is still an issue.

Confirmed on Windows 10 PC.

I built a test world for this bug and had some very interesting results.

  • I was able to reproduce villagers changing direction in a minecart when they came to an unpowered golden rail only when they were going slowly enough. When moving quickly they would slow down but continue in the same direction over the unpowered golden rail.

  • They would also change direction when they came to a powered golden rail, but to do this they needed to be going even slower than was necessary to change direction when coming to an unpowered golden rail.

  • It looked to me like the threshold for how quickly they needed to be going to not bounce back was lower in the southward direction than northward. In other words, they seemed to have a preference for moving south over moving north. I was unable to test east-west (see next point).

  • I was unable to reproduce the bug after relogging. I relogged in order to activate experimental settings to use a structure block to copy my setup with 90 degrees rotation. After relogging, villagers in minecarts travelling any direction would stop on unpowered golden rails as expected. This was not due to activating experimental settings, but simply due to relogging–I checked both the original world and the experimental copy world.

  • A possibly significant difference between when I could and could not reproduce the bug, is that when I could reproduce the bug, the villager was also constantly shaking.

Thinking about these observations, I would guess that the bug is caused by villagers in minecarts sometimes getting a sort of phantom momentum in a certain direction that constantly interferes with their normal motion. Perhaps there is a client-server disagreement that sometimes occurs when a villager enters a minecart.

Update: the bug causing mobs to shake when entering minecarts, MCPE-42202, is fixed in the 1.15.0.51 beta. Since these bugs may be related, it would be helpful if anyone could test this bug in a 1.15 beta version.

Thank you for your report!
We're actually already tracking this issue at MCPE-46804, so we will resolve and link this ticket as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature, to see if the issue has already been mentioned.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Scott Ellis

(Unassigned)

Confirmed

Xbox

minecart

1.5.1.2, 1.14.30 Hotfix

Retrieved