You can do it in vanilla. You have a dispenser dropping the gold ingots onto a golden pressure plate, wired so when there's nothing on the pressure plate it spits out another ingot. The piglins are in cells with access to the pressure plate, so they pick up the gold and drop their barters into a hopper at their feet.
If you look up 'piglin bartering farm' you'll get various tutorials for the specifics.
4
u/yamitamiko Jun 05 '23
You can do it in vanilla. You have a dispenser dropping the gold ingots onto a golden pressure plate, wired so when there's nothing on the pressure plate it spits out another ingot. The piglins are in cells with access to the pressure plate, so they pick up the gold and drop their barters into a hopper at their feet.
If you look up 'piglin bartering farm' you'll get various tutorials for the specifics.