Minecraft wiki entry for Defeating_a_bastion_remnant, associated text: When piglin brutes are rushing towards you, you can simply place boats in front of their pathfinding. If you do this correctly, the piglin brutes will enter the boats while running towards you. Once they are in the boats, they are stuck; they are unable to exit or break the boats. You still do not want to go too close to the boats or hop in the boat, as the piglin brutes will still attack players near them.