A skeleton pigman is a neutral mob found in the Nether Wastes and Soul Sand Valleys. He is passive towards players unless provoked by attacking him or equipping a gold/gilded piece, either in hand or in armor slots. It wields either a ruby sword, bow or a crossbow, and uses either melee or ranged attacks, respectively.
Skeleton pigmans spawn in groups of 2-3 in nether wastes and soulsand valleys biomes 25% of skeleton pigmans spawn wielding a bow, 65% ruby sword, and 10% crossbow.
On Death
Bone: 0-2
Ruby Fragment: 0-1
Ruby: 2.5% chance (when killed by a player or tamed wolf)
Pigman Skull: 2.5% (when killed by a player or tamed wolf)
XP: 5 (when killed by a player or tamed wolf)
Equipment
Adults have an 8.5% chance of dropping each naturally held or worn piece of equipment. The dropped item has a random durability. Each level of Looting used to kill the skeleton pigman increases the drop chance for each piece of equipment by 1%.
Weapons
A skeleton pigman naturally spawns with either of these weapons:
Ruby Sword
Crossbow
Bow
Armor
Skeleton Pigman sometimes spawn with 1-4 normal or enchanted pieces of armor, which may be:
Ruby Helmet
Ruby Chestplate
Ruby Leggings
Ruby Boots
Skeleton Pigmans cannot swim and can drown if submerged. They are immune to fire.
Aggravation
Skeleton Pigmen are neutral towards players as long as they do not equip any gold/gilded pieces in their hand/armor slot. Skeleton Pigmen are provoked by any player who:
Holds/equips a golden/gilded piece.
Mid range, medium aggravation.
Attacks a skeleton pig or skeleton pigman, regardless if the player kills it in one hit or not.
Long range, heavy aggravation to the damaged skeleton pigman, medium aggravation to other skeleton pigmans.
Opens or breaks a chest, trapped chest, ender chest, shulker box, barrel, minecart with chest, or boat with chest.
Opening is short range, medium aggravation
Breaking is mid range, medium aggravation
Breaks a block of ruby, ruby ore, bloodstone ruby ore, nether rubyore, deepslate ruby ore, and more.
Mid range, medium aggravation
Skeleton Pigmans attack Piglins, Hoglins, Piglin Beasts. They are attacked by Iron Golems and Snow Golems. It also attacks any entity that holds/equips any ruby item, except those belonging to the following families: wither, skeleton, piglan, zombie piglan, zombie pigman, zombie piglin.
Bartering
Skeleton pigman can barter ruby for certain items, when a ruby is dropped near them or the player uses it while looking at them. The skeleton pigman "examines" the ruby for eight seconds, then drops a random item from the chart. Skeleton pigmans can also pick up items dropped by a dispenser or dropper.
Skeleton Pigmans can pick up any items they come across, preferring ruby-related items, which they actively seek out.
Each skeleton pigman has eight hidden inventory slots in which it can stack items. A skeleton pigman with a full inventory does not attempt to pick up ruby-related items, except ruby.