Minecraft wiki entry for Nether_survival, associated text: It is usually better to leave these creatures alone, but if you want gold nuggets, or you want to increase your level (killing many zombified piglins gives you a lot of experience), you can sarfely attack the zombified piglins in various ways. Also, if you have to fight Zombified Piglins, make sure there isn't much (or even better, no) lava or fire surrounding you. You may have to move around a lot to fight all of them at once, and distractions make it worse (also, you may need to collect your stuff after getting killed).