Tutorials/Hoglin farming

Hoglin farming is the process of killing hoglins for leather, raw porkchops, and cooked porkchops.

Applications
Raw porkchops can be traded for emeralds, but not cooked porkchops.

On the other hand, cooked porkchops are very nutritious food equivalent to steak.

This means that massive quantities of cooked porkchops are unnecessary in singleplayer or small servers. However, raw porkchops can be gathered in massive quantities if a large automatic farm can produce so many hoglins. These raw porkchops can be converted to emeralds as long as you have enough villagers.

Large, automatic
Notice: This video was made in Java Edition 20w07a. The actual showcase of this design starts at 1:38, everything before that is an intro.