File:Working Posts on a ranch.png

Summary
Using Nether Brick Fence to create a gate that animals can't pass but players can as the different fence types do not connect.