Updated:
Happy Ghast: entity ID and summon command
The entity ID for Happy Ghast is minecraft:happy_ghast. Use it with /summon and in selectors such as @e[type=…]. It was added in Java 1.21.6.
Basic data
| Name | Happy Ghast |
|---|---|
| ID (Java Edition) | minecraft:happy_ghast |
| Type | Passive or neutral mob |
| Java versions | Java 1.21.6 and later |
| Bedrock 26.52 | Same ID works (tested on a server) |
| Size | 4 wide × 4 tall (blocks) |
| Spawn egg | Happy Ghast Spawn Egg |
Commands you can copy
Java Edition
Summon at your position
/summon minecraft:happy_ghast ~ ~ ~Summon with no AI
/summon minecraft:happy_ghast ~ ~ ~ {NoAI:1b}Remove all of them
/kill @e[type=minecraft:happy_ghast]Remove only within 10 blocks
/kill @e[type=minecraft:happy_ghast,distance=..10]Test whether one exists
/execute if entity @e[type=minecraft:happy_ghast]Teleport the nearest one to you
/tp @e[type=minecraft:happy_ghast,sort=nearest,limit=1] @sGive the spawn egg
/give @p minecraft:happy_ghast_spawn_egg 1Bedrock Edition
Summon at your position
/summon happy_ghastRemove all of them
/kill @e[type=happy_ghast]Remove only within 10 blocks
/kill @e[type=happy_ghast,r=10]Version notes
It was added in Java 1.21.6. 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 Happy Ghast?
It is minecraft:happy_ghast. In commands you can also write happy_ghast without minecraft:.
How far does /kill reach?
@e[type=minecraft:happy_ghast] matches every one in loaded chunks. To limit it to nearby ones, add distance=..10 (r=10 on Bedrock).