Minecraft wiki entry for Zombified_piglin_farming, associated text: The deactivation system has to be done with a dispenser containing a water bucket. A redstone clock will let the dispenser, dispense the water every self set amount of ticks.