This guide covers all the NBT tags (data tags) you can use to customize zombified piglin in Minecraft Java Edition 1.16 through 1.20. Whether you’re building mob farms, creating custom bosses, or just messing around with commands, these tags let you tweak pretty much every property of a zombified piglin.
What Are NBT Tags?
NBT tags are properties you add to entities in commands. They go in curly brackets like this: {IsBaby:1}. If you use multiple tags, separate them with commas: {IsBaby:1, CanPickUpLoot:0b}.
You’ll use NBT tags with commands like /summon and /data to spawn and modify zombified piglin with specific traits.
NBT Tags for Zombified Piglin
Here’s the full list of tags you can use on zombified piglin:
| NBT Tag | Value | Works With |
|---|---|---|
| IsBaby | 0 (adult) or 1 (baby){IsBaby:1} |
/summon, /data |
| CanPickUpLoot | 0b (can’t pick up loot) or 1b (can pick up loot){CanPickUpLoot:0b} |
/summon, /data |
| CanBreakDoors | 0 (can’t break doors) or 1 (can break wooden doors){CanBreakDoors:0} |
/summon, /data |
| LeftHanded | 0 (right-handed) or 1 (left-handed){LeftHanded:1} |
/summon, /data |
| AngerTime | Number of game ticks before it stops being angry{AngerTime:500} |
/summon, /data |
| CustomName | Display name for the piglin{CustomName:"{\"text\":\"Destroyer\"}"} |
/summon, /data |
| Health | Current health points{Health:20.0f} |
/summon, /data |
| AbsorptionAmount | Absorption hearts (yellow hearts){AbsorptionAmount:2.0f} |
/summon, /data |
| Invulnerable | 0 (takes damage) or 1 (invincible){Invulnerable:1} |
/summon, /data |
| PersistenceRequired | 0 (despawns naturally) or 1 (never despawns){PersistenceRequired:1} |
/summon, /data |
| NoAI | 0 (normal AI) or 1 (frozen, no movement){NoAI:1} |
/summon, /data |
| Silent | 0 (normal sounds) or 1 (muted){Silent:1} |
/summon, /data |
| Fire | Game ticks until fire extinguishes (20 ticks = 1 second){Fire:60} |
/summon, /data |
| PortalCooldown | Game ticks until it can use portals again{PortalCooldown:120} |
/summon, /data |
| Air | Game ticks of air remaining underwater{Air:120} |
/summon, /data |
| HandItems | Items in right and left hand{HandItems:[{Count:1,id:golden_sword}, {Count:1,id:shield}]} |
/summon, /data |
| HandDropChances | Drop chance for each hand item (1.0f = 100%, 0.5f = 50%){HandDropChances:[1.0f,1.0f]} |
/summon, /data |
| ArmorItems | Armor (boots, leggings, chestplate, helmet){ArmorItems:[{Count:1,id:diamond_boots}, {Count:1,id:diamond_leggings}, {Count:1,id:diamond_chestplate}, {Count:1,id:diamond_helmet}]} |
/summon, /data |
| ArmorDropChances | Drop chance for each armor piece (1.0f = 100%, 0.5f = 50%){ArmorDropChances:[1.0f,1.0f,1.0f,1.0f]} |
/summon, /data |
| id | Entity identifier: zombified_piglin{id:zombified_piglin} |
/summon, /give |
| Passengers | Mob riding on top of the piglin{Passengers:[{id:skeleton}]} |
/summon, /data |
Command Examples
Summon a Named Zombified Piglin
/summon zombified_piglin ~ ~ ~ {CustomName:"{\"text\":\"Destroyer\"}"}
Summon a Baby Zombified Piglin
/summon zombified_piglin ~ ~ ~ {CustomName:"{\"text\":\"Tiny\"}", IsBaby:1}
Summon an Armored Zombified Piglin
/summon zombified_piglin ~ ~1 ~ {CustomName:"{\"text\":\"The Destroyer\"}", ArmorItems:[{Count:1,id:netherite_boots}, {Count:1,id:netherite_leggings}, {Count:1,id:netherite_chestplate}, {Count:1,id:netherite_helmet}], ArmorDropChances:[1.0f,1.0f,1.0f,1.0f]}
Using Target Selectors
Target selectors let you pick specific entities in commands. Use @e[type=zombified_piglin] to target all zombified piglin near you.
Target Selector Examples
Turn the nearest zombified piglin into a baby:
/data merge entity @e[type=zombified_piglin,limit=1,sort=nearest] {IsBaby:1}
Kill all zombified piglin:
/kill @e[type=zombified_piglin]
Version Support
This guide covers Minecraft Java Edition 1.16, 1.17, 1.18, 1.19, and 1.20. The entity ID is zombified_piglin in all these versions.