Mojira Archive
MC-58294

Squids and glow squids do not collide properly with solid blocks

The bug

Squids choose the direction they are simming in randomly. This means that they sometimes also try to swim "through" a wall. Whereas other mobs trying to walk against a solid wall just collide with it, squids sometimes glitch into it (maybe client-side only).

The reason

The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.

The reason might be that the class EntitySquid is overriding the method net.minecraft.entity.EntityLivingBase.moveEntityWithHeading(float, float).