Parsnips can be put in a large trough , but neither pigs nor sheep will eat them.[1]
assets\survival\blocktypes\wood\trough-large.json