Tutorials/Squid farming

Collecting ink sacs can prove quite time-consuming. To save time, a squid farm could be made to automatically gather ink sacs for your collection later on. There are two main ways to do it. The first is to dig a tunnel underneath the ocean; the second is to make a man-made lake, or find a shallow pre-existing lake.
== Video ==
== Spawning mechanics ==
Squid will spawn in 1 or more blocks of water, no matter whether it's a water source or flowing water. Squid can also spawn in bubble columns, (Bedrock Only) so an upwards column may be used for collection. Note that downwards columns do not pull the squids, making them considerably less useful for squid farming. The level of light is not important. However, they will only spawn if their spawning block (the solid block underneath the water) is between Y (vertical) level 50 and 62, inclusive.
Since 1.13.1, they now only spawn in river and ocean biomes.
To have a better spawn rate in your farm you have to eliminate water blocks between 50 and 62 layers in a 128 block radius around the player and at least 24 blocks from the spawning area of the farm.
There is a separate mob cap for water mobs (this doesn't include guardians), but the mob cap is shared among all players on a multiplayer server. Thus on a multiplayer server, if any player is near an ocean, it will effectively block output from your squid farm. As with other farms, it is important to kill the squid quickly to allow more to spawn.
== Killing mechanisms ==
Squid can be killed by asphyxiation if they get out of water. They can also be killed by fall damage or by entering lava. Guardians are hostile toward squid and will use lasers to kill them, however catching a Guardian is hard even with boats.
== Farm designs ==
=== Artificial automatic squid farm design ===
This design produces around 11,000 Ink Sacs per hour using Nether portals to optimize spawn rates and hopper minecarts for collection. As of 1.18, squid now need a height of 3 blocks to spawn and so the height of 2 blocks between glass layers in the video of this design means no squid will spawn in the farm.
This design takes more time to be built but can achieve a very high ink rate. First of all you should clear as much water as possible out of the river or ocean biome within the render distance of the player. You have to build a chamber between layers 46 and 62, and fill it with water so squid will spawn. To make water push the squid to the bottom you have to place water sources only in the top layer, and also place solid column blocks, as water will only push if it has an adjacent solid block. Underneath the spawning chamber will be a layer of signs that can be traversed by squid but not water. Squid crossing the sign layer will land on a hopper platform, where squid will die either by fall damage or suffocation, and will gather all the resulting ink and send it to chests.
One in survival mode, Minecraft 1.8.4, yielding about 4.2 stacks of ink per hour:
The easy method:
Another easy design worth mentioning that works both on glowing and normal squid is this: 
First, find a river biome so squid can spawn.
Then, you can start your construction. Build (Or dig) an empty rectangular box (11*2*11 measured from inside) and replace the central block with a hopper connecting to your chest. Then, you place 4 water bucket at the bottom corners of the box so that squid can spawn in it (and the water stream can move the drops to you hopper.) Then, put a axolotl in your box with a bucket(You can use a guardian instead, just make sure to name it so it doesn't despawn.) Tada! A supercalifragilisticexpialidociously easy and simple fully automated squid farm.
It's not very fast, but it's small. You can have multiple units of them working at the same time to speed them up. 
If you want to build one for glowing squid, the idea is the same. build your box below y level 30, and make sure there is no light in it so glowing squid can spawn.
(Designed by a 12-years old boy(me basically(I am not, and never was or will be a pro in mc!)))
=== Natural squid farm design ===
This design is easy to build, as it uses the environment to build the farm, although the ink rate is very poor. You have to build a layer of signs below a lake or ocean, and dig a hole underneath, so squid will get through it and either die by suffocation or fall damage depending on how deep you dig the hole. The following video shows a natural squid farm built for Minecraft 1.4.7:
Allay assisted design
This, Bedrock Edition only, design takes advantage of the allay which will gather the floating ink sacs of squid that die to axolotls. The same design can also be used to farm glow squid if built below y level 30.
zh:教程/鱿鱼陷阱