Updated:

Zoglin: entity ID and summon command

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

Basic data

NameZoglin
ID (Java Edition)minecraft:zoglin
TypeHostile mob
Java versionsJava 1.16 and later
Bedrock 26.52Same ID works (tested on a server)
Size1.39648 wide × 1.4 tall (blocks)
Spawn eggZoglin Spawn Egg

Commands you can copy

Java Edition

Summon at your position

/summon minecraft:zoglin ~ ~ ~

Summon with no AI

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

Remove all of them

/kill @e[type=minecraft:zoglin]

Remove only within 10 blocks

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

Test whether one exists

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

Teleport the nearest one to you

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

Give the spawn egg

/give @p minecraft:zoglin_spawn_egg 1

Bedrock Edition

Summon at your position

/summon zoglin

Remove all of them

/kill @e[type=zoglin]

Remove only within 10 blocks

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

What it drops

ItemCountCondition
Rotten Flesh1–3More with Looting

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

Version notes

It was added in Java 1.16. 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 Zoglin?

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

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

Related IDs