I'm trying to automate the gold collection at my farm by using a rail system. The problem is that the pigs are spawning through the rails. Does anyone know of a way to stop the pigs from spawning? Obviously I can't place rails on slabs and light levels don't affect pig spawning. So what to do? So boring to walk around collecting nuggets, I'd much rather ride.
Since I can't place rails on slabes, I need to use a full blocks. Any yes they spawn on blocks on which I have rails.