Edit
Bipedal pig-like neutral mob in Minecraft that only spawns in the Nether dimension. Commonly found in nether wastes and crimson forest biomes, also at Bastion Remnants. They can wear any armor, and armed with either golden sword or crossbow. 16 health points (8 hearts). Has very small chance to drop one of those weapons upon death. Piglins are always hostile to wither skeletons.
Piglins will attack players who:
Do not wear any piece of gold armour,
caught opening or breaking containers (chest, barrel or even shulker box)
are caught mining any ore on sight,
attack nearby piglin(s).
Thrown gold items can temporarily distract them from attacking. They can barter for random useful items if given gold ingot. Sometimes piglins will attack hoglins for food (pork) and leather.
Baby piglins are passive and will run away from the player while getting attacked.