Minecraft wiki entry for Traps, associated text: Wandering mobs will not be afraid to try and walk on the signs. If they do, they will get trapped. This will not always work, so it is advised to make the deeper part wider.