Squid

Squids are 8-armed mobs that spawn in water.

Spawning
Squids spawn in water between layers 46 and sea level, and can be found in any biome.

Pocket Edition
In Pocket Edition, squid spawn only in ocean biomes. They also have a chance to spawn as babies.

Drops
When killed, each squid will drop 1-3 ink sacs. They drop 1-3 experience when killed by a player or tamed wolf.

Behavior
Squids are always passive towards the player, akin to the other passive mobs found on land.

When moving about, the squid's tentacles open and close, giving them an appearance of pushing themselves forward. Squids hover in place when first spawned into the world and wander around aimlessly, swimming up and down through each layer. They are not attracted to light, and do not deliberately interact with the player. However, if attacked, squid will attempt to swim away from the player.

Squids suffocate if they are beached on land for too long. While on land, they do not move, and stay stationary until they suffocate. They can take fall damage and burn like any land mob, but they cannot drown.

Squids cannot swim in lava, even if given a Fire Resistance potion. They simply pass through the lava and behave as if on land.

Squids (unlike land-based mobs) can swim against a current and not get pushed by it.

Guardians
Guardians will attack squids in the same manner as they would a player, even if the squid is affected by invisibility.

Pocket Edition
In Pocket Edition, squids produce a cloud of black ink particles and rapidly swim away in the opposite direction from the player when attacked.

Data values
Squids have entity data associated with them that contain various properties of the mob. Their entity ID is.

Trivia

 * Hitting a squid underwater causes them to rise approximately 1/3 to 1/2 a block.
 * Squids cannot be damaged by attacks to their tentacles.
 * When out of water, squid are extremely resistant to knockback.
 * Squids behave like some land mobs and attempt to ride a minecart, but this is not always useful as rails and water cannot occupy the same block.
 * Squids are the first passive mob to spawn at any light level, in water, and without grass.
 * When the world is loaded, all squids are aligned with the tentacles facing east.