A pigman is an extinct neutral creature (or so it is believed). He can be equipped with swords, a crossbow, or a bow, and uses melee or ranged attacks, respectively.
It spawns naturally rarely in Pigman Villages, which you can only find in the Mushroom Savanna Biome (this biome belongs to another Alpha Livestock)
On Death
Ham: 0-1 (when killed by a player or tamed wolf)
Ruby Fragment: 0-1
Pigman Head: 2.5% (when killed by a player or tamed wolf)
Ruby: 2.5% chance (when killed by a player or tamed wolf)
XP: 5
Equipment
Spawns without any tools or armor. They can equip swords, axes, bows, or crossbows. They will always prioritize tools, swords, and higher-level armor, for example they equip diamond armor before iron armor.
The Wild Pigman Generics attack only ancient zombie pigman and zombie pigman brutes.
They do not attack players unless provoked. If a Wild Pigman Brute is provoked it will become enraged and all Wild Pigmans will retaliate against the entity that attacked them.
Like villagers, pigman generics can open and close wooden doors but cannot open fence gates, all trapdoors, and iron doors. They also cannot climb ladders.
Can float on water.
They can be cured by feeding them a carrot, golden carrot or a gilded carrot.
Zombification
After spending 15 seconds in the Nether, they become zombified, and will then transform into a Zombie Pigman Generic. You can prevent their zombification by taming them.
If a Pigman Generic dies fighting a zombie pigman brute, zombie piglin, zombie piggy, ancient zombie pigman, zombie pig, zombie hoglin, zombie piglin beast or zombie hog there is a 50% chance of being zombified (on the hard difficulty it is 100%)
If a Pigman dies while fighting a Wither-related entity, there is a 50% chance of withering away (on Hard difficulty it's 100%).
Taming
Piglans can be tamed by feeding them a ruby carrot, once tamed they will chase, protect and attack those who attack their owner.
A pigman can sit down if you are sneaking and interact with him, once you do that you must interact with him again to be able to sit him down.
The Tamed Pigman Generics attack all types of monsters except the following: creepers, piglins, zombie pigmans, zombie piglins, endermans, piggies, hoglins, hoglin brutes, piglin beasts, zombie pig, zombie hog and zombie piglets.
Bartering
Pigman generic can barter ruby for certain items, when a ruby is dropped near them or the player uses it while looking at them. The pigman generic "examines" the ruby for eight seconds, then drops a random item from the chart. Pigman generics can also pick up items dropped by a dispenser or dropper.