mojira.dev
MC-35309

Mob Glitching Through Fences Bug

Basically this is what I have:
I wanted to start a sheep, cow, chicken and pig farm arround my house and built some fences to keep them in. It seems these fences do not work due to the mobs being able to just get through the block. I tried making a solid block layer outside the fence but mobs still were able to glitch out. This issue has persist for many versions and I've realized it doesn't take too many mobs to do the trick (Had 3 pigs in a 12x10 area and 1 got out).

The only fix I could find is to put steps on top of the fences, if not they would get out.

Related issues

Attachments

Comments

migrated
[media][media]
migrated

121st Duplicate of MC-2025 - 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.

migrated

Then this is my question, if there are 121 posts of this bug and it's the most common bug of the game (As I searched, it seems almost 10% of the community is having this problem), wy is it not being fixed?

Torabi

Because it's difficult to fix? It's not like they haven't tried, and it was marked fixed once, but reopened because it was shown to still happen. It has the second-highest vote count, with only MC-119 being higher, but it's not like they're going to put everything else on hold until they fix it. They've overhauled an enormous percentage of the code for 1.7, and that may make it easier for them to track down and understand the cause(s) behind this issue when they next take a look at it. But they currently have nearly 3000 other issues all begging for their attention.

migrated

You're right, I apologize, Mojang has indeed done a great work fixing many bugs. I've seen many mods that have codes that prevent that from happening, why not asking them help or taking a look at those codes?

Torabi

They've worked with mod authors in the past when the mod author did something novel and clever, something where the mod code could stand by itself and be integrated into the Minecraft code, rather than being a bunch of edits scattered throughout the code. Also, mods are built on a version of the Minecraft code that looks nothing like the actual source. It would take about as much work to understand what was changed, and translate it into something usable, as it would to figure it out themselves. There's been some pretty substantial discussion of this particular problem in the comments of MC-2025, some of which may be helpful to Mojang in solving it, more so than actually looking at someone's mod.

They replaced a big chunk of the networking code with a third-party library for 1.7, and that should simplify fixing this as well, since reportedly part of the problem is a miscommunication of position information between the client and server code. Since single-player uses both the client and server code internally, it would be affected as well. Sometimes in programming you have to solve a lot of seemingly-unrelated problems to properly tackle some specific problem.

migrated

(Unassigned)

Unconfirmed

Minecraft 1.5.2, Minecraft 1.6.2, Minecraft 1.6.4, Minecraft 13w39b, Minecraft 13w41a, Minecraft 13w41b

Retrieved