Updated:

Zombified Piglin: entity ID and summon command

The entity ID for Zombified Piglin is minecraft:zombified_piglin. Use it with /summon and in selectors such as @e[type=…]. Up to Java 1.15.2 the ID was minecraft:zombie_pigman. Use the old ID on older versions.

Basic data

NameZombified Piglin
ID (Java Edition)minecraft:zombified_piglin
TypeHostile mob
Java versionsJava 1.16 and later
Bedrock 26.52This ID is not accepted as is
Size0.6 wide × 1.95 tall (blocks)
Spawn eggZombified Piglin Spawn Egg

Commands you can copy

Java Edition

Summon at your position

/summon minecraft:zombified_piglin ~ ~ ~

Summon with no AI

/summon minecraft:zombified_piglin ~ ~ ~ {NoAI:1b}

Remove all of them

/kill @e[type=minecraft:zombified_piglin]

Remove only within 10 blocks

/kill @e[type=minecraft:zombified_piglin,distance=..10]

Test whether one exists

/execute if entity @e[type=minecraft:zombified_piglin]

Teleport the nearest one to you

/tp @e[type=minecraft:zombified_piglin,sort=nearest,limit=1] @s

Give the spawn egg

/give @p minecraft:zombified_piglin_spawn_egg 1

Bedrock Edition

Bedrock does not accept this ID. Check the Bedrock form with the Java / Bedrock converter.

What it drops

ItemCountCondition
Rotten Flesh0–1More with Looting
Gold Nugget0–1More with Looting
Gold Ingot12.5% chance / Killed by a player

From the official Java 26.3 loot table. Experience is not included.

Version notes

Up to Java 1.15.2 the ID was minecraft:zombie_pigman. Use the old ID on older versions.

In selectors, Java Edition uses type=minecraft:ID and Bedrock uses type=ID. Add ! as in type=!minecraft:ID to match everything else.

Questions

What is the ID for Zombified Piglin?

It is minecraft:zombified_piglin. In commands you can also write zombified_piglin without minecraft:.

Why does Zombified Piglin disappear right after summoning?

On Peaceful difficulty, hostile mobs are removed at once. Raise the difficulty, for example with /difficulty easy.

How far does /kill reach?

@e[type=minecraft:zombified_piglin] matches every one in loaded chunks. To limit it to nearby ones, add distance=..10 (r=10 on Bedrock).

Related IDs