Minecraft wiki entry for Zombified_piglin_farming, associated text: It is also possible to make a fully automatic farm using a more advanced setup. Because many of the zombified piglin farms produce a significant amount of golden swords, which may quickly clog up a player's storage system, an item filtering system can be used to filter out the rotten flesh, gold nuggets, and gold ingots. A redstone clock can be installed to a dispenser, and if hooked up correctly, the item filtering system can be used to spit the swords into a furnace which can then be smelted into golden nuggets.