mojira.dev
MC-33359

Mobs are unable to cross minecart rails

I was exploring an underground mineshaft, when I noticed zombies in the shaft ahead. The closest one was standing in between the fence supports and was looking at me, but was not moving. In front of him were several rails. I tried moving side to side, to see if he would follow, but he simply stood there. He only started moving after I destroyed the rail. Later on, in another section, two zombies and a creeper were blocked by the rail, and walked around it as if it were a fence blocking the way. Spiders were partially affected, though jumping on it they would pause and begin acting as if under full sunlight for a moment before attempting to attack again. Mineshaft was located in Swampland biome.

Linked issues

MC-55878 Rails And Mobs MC-59746 mobs cant cross rails MC-61918 Iron golems do not cross over tracks MC-108398 Enderman cannot walk over rails when aggravated. MC-110529 Zombies can't walk over minecart tracks MC-113015 Zombie Pathfinding Bug MC-120599 Creepers cant step over Rails MC-131557 Zombies will not cross minecart rails when attacking/chasing you. MC-140830 Mobs do not cross minecart rails MC-141206 mob rail bug MC-144530 Pillagers do not cross rails MC-149700 Creepers (and I think mobs) can't go over railways MC-151495 Golems can't walk over rails MC-153014 Mobs cannot path find over rails. MC-153407 Entities cannot pathfind over rails MC-153555 Mobs can't cross rails MC-153784 Баг с рельсами MC-155864 the aggressive mobs do not cross the rails naturally, I did a test a villager trapped and raked off the rail and the zombies just crossed the rail when one pushed the other. MC-156523 Rails bug MC-157674 Mob AI sometimes avoids walking thru rails MC-157858 Mobs don't try to go over the railway MC-157859 Mobs don't try to go over the railway MC-159107 Rails are like a high wall to animals. MC-159582 Creepers MC-160910 Sheep pathfinding gets confused by rails MC-170319 Not a bug (Wither skeleton can't cross rails) MC-175150 Hoglins unable to walk over rails MC-176820 Certain mobs cant pathfind through rails MC-182496 Wither Skeletons Can't Pathfind Over Rails. MC-183255 mobs cannot walk over rails MC-187509 Mobs do not travel over rails MC-189801 Zombies cant pathfind rails MC-191055 Creepers see rails as blocks in their AI MC-191702 Broken AI Pathfinding MC-196893 Aggressive mobs cannot move through rails MC-198832 Zombies won't walk over rails when placed between zombie and player MC-199507 Pigman can't go through rails MC-202191 Hoglins Can't Cross Rails MC-202524 Zombies and Creepers can't move on rails.... MC-205314 medium bug MC-206861 mobs cannot pathfind through powered rails MC-215216 Iron Golems cannot cross rails MC-227158 Creeper loses aggression MC-228131 Рельсы и мобы MC-228248 Iron Golem's can't walk over rails. MC-239070 Zombies don't path find over rails MC-259991 Villager bed finding algorithm problem MC-275578 Piglins cannot walk over rails in their pathfinding MC-279000 Path and Rail Mob Issue MC-300178 Both enemy and allied mobs cannot pass or walk over the rails

Comments

kumasasa

http://minecraft.gamepedia.com/Rails

Mobs no longer walk over rails unless they are pursuing the player.

Ryan Hitchew

So, if I hit the mob, it bounces back, attempting to pursue me, and stops right on the rail, it isn't pursuing me?

kumasasa

Reopened.

cynthia geberl

it is still bugged in 1.7.2. i realised that i can attack zombie pigmen this way easily, making a gold farm.

Noproct

I don't get this, on one hand I always bump in to zombie pigmen when I use minecarts in the nether eventhough they have enough space to move away, on the other hand, rails are effective at keeping mobs out of a perimeter. I need to do some testing.

Adam

Guys, this needs to be reopened. I am using version 1.11. I can confirm hostile mobs are not crossing rails, ever as far as I can tell. They chase me and then stop like they are walls. But they still can see me. I can hit them too and they still will not cross the rails. This applies to all mobs I have seen so far, zombies, creepers, skelektons

Niknokinater

I concur with Adam, IT LIVES. Hostile mobs or passive mobs (unless they have a more unique form of moving I imagine, like spiders) simply cannot cross any type of rails whether they be trying to attack, follow the food goody, or by will.

I've attempted zombies, creepers, spiders, vindicators, cows, and pigs, but this bug likely afflicts just about any AI that walks normally. I am in 1.11.

Anon Ymus

This ticket was resolved not because the behavior doesn't occur, but rather because it is intentional. If you look in the history, Dinnerbone resolved it as intended. This bug tracker exists so that Mojang can keep track of what issues they want to deal with, and they have decided that this is not an issue, so it is irrelevant whether the behavior still exists in 1.11.

Adam

What I read was the intended behavior is to not cross rails UNLESS a mob is chasing you. This is not the case. They never cross the rails. BTW, I know why this bug tracker exists.

Anon Ymus

Dinnerbone resolved it as WAI after the comment "So, if I hit the mob, it bounces back, attempting to pursue me, and stops right on the rail, it isn't pursuing me?" I take this to mean that Dinnerbone most likely saw the comment and thought that mobs stopping on rails while pursuing players was also intended.

Aaron Rhodes

The problem is that mojang added a fix to something that wasn't broken in the first place, and that's why this is marked as WAI. People will have better luck with suggesting the removal of this "fix" elsewhere rather than reporting it as a bug. I'm at a loss as to why this was done in the first place. Just mojang carrying clueless/careless players through the game I guess. How hard is it to build walls around a rail system to keep out mobs? It's bad coding practice to force a feature when other options are open to the player. If a mob gets in the way of a rail system, then the fault lies with the player, not the coding of the game.

CalXee

@Aaron Rhodes I don't understand what your point is

WoutZeester1

His point is that it is the players to bring mobs to rail systems rather than the games fault to let the mobs not pass

 

According to me this doesn't makes any sense, because rail systems are naturrally generated in mineshafts, so players have no other choice than attacking them at the rail system. Also when players get attacked by mobs on their rail system, they have no other choice than fighting them there.

Ryan Hitchew

(Unassigned)

Unconfirmed

mob

Minecraft 1.6.4

Retrieved