I made an automatic wool farm. An observer detects when grass grows/is eaten and sends an output to a dispenser with a shear, which shears the sheep. Under the grass, there is
Tutorials/Wool farming – Minecraft Wiki
Minecraft Sheep Wool Farm 1.19.4 - BEST DESIGN - YouTube