It all works well the only problem is the xp is getting stuck behind the slabs next the killing holes and its not coming out some gets through but a lot of it is despawning i think. If any of you have encountered this and have solved it that would be fantastic. Its on a server so it might something to do with that.
I haven’t encountered this problem, but looking at the design you could try replacing those top slabs with trapdoors. Not sure how tall a baby pig-man is, but they might occasionally be able to get through the slightly larger gap if they aren’t immediate killed from cramming.