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
| Name | Zoglin |
|---|---|
| ID (Java Edition) | minecraft:zoglin |
| Type | Hostile mob |
| Java versions | Java 1.16 and later |
| Bedrock 26.52 | Same ID works (tested on a server) |
| Size | 1.39648 wide × 1.4 tall (blocks) |
| Spawn egg | Zoglin 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] @sGive the spawn egg
/give @p minecraft:zoglin_spawn_egg 1Bedrock Edition
Summon at your position
/summon zoglinRemove all of them
/kill @e[type=zoglin]Remove only within 10 blocks
/kill @e[type=zoglin,r=10]What it drops
| Item | Count | Condition |
|---|---|---|
| Rotten Flesh | 1–3 | More 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).