Updated:

Piglin Brute: entity ID and summon command

The entity ID for Piglin Brute is minecraft:piglin_brute. Use it with /summon and in selectors such as @e[type=…]. It was added in Java 1.16.2.

Basic data

NamePiglin Brute
ID (Java Edition)minecraft:piglin_brute
TypeHostile mob
Java versionsJava 1.16.2 and later
Bedrock 26.52Same ID works (tested on a server)
Size0.6 wide × 1.95 tall (blocks)
Spawn eggPiglin Brute Spawn Egg

Commands you can copy

Java Edition

Summon at your position

/summon minecraft:piglin_brute ~ ~ ~

Summon with no AI

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

Remove all of them

/kill @e[type=minecraft:piglin_brute]

Remove only within 10 blocks

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

Test whether one exists

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

Teleport the nearest one to you

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

Give the spawn egg

/give @p minecraft:piglin_brute_spawn_egg 1

Bedrock Edition

Summon at your position

/summon piglin_brute

Remove all of them

/kill @e[type=piglin_brute]

Remove only within 10 blocks

/kill @e[type=piglin_brute,r=10]

Version notes

It was added in Java 1.16.2. Older versions report that the ID is unknown.

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 Piglin Brute?

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

Why does Piglin Brute 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:piglin_brute] matches every one in loaded chunks. To limit it to nearby ones, add distance=..10 (r=10 on Bedrock).

Related IDs