Ghast

Ghasts are huge, floating Nether mobs that shoot explosive fireballs at the player.

Spawning
Ghasts require a solid block below them, 5×4×5 free space, and Nether biome in order to spawn.

Drops
Ghasts drop 0-2 gunpowder and sometimes a ghast tear.

Behavior
Ghasts normally float around the Nether with their eyes and mouth closed and periodically make high-pitched, cat- or infant-like sounds. They open their red eyes and mouth when attacking. They make a chirp-like noise when shooting and scream pitifully when taking damage. The sounds that Ghasts make have a minimum intensity regardless of their distance, meaning that they can sound closer than they actually are. They have a size of 4×4×4 blocks.

Ghasts have an extreme attack range, explosive attack power, and mobility. Unlike most other aggressive mobs, the Ghast does not have a pursuit mode - it does not attempt to draw closer to the player when at long range (and likewise is not particularly likely to float away). Compared to other mobs, the Ghast has a very long search range and can target a player up to 100 blocks away. When the player comes within about sixteen blocks, the Ghast will open fire and attempt to gain altitude.

Ghasts will not fire at the player without a line-of-sight, which can be blocked by solid transparent blocks.

Ghast fireball


The Ghast's fireball attack has a straight trajectory unaffected by gravity and a theoretically infinite range. Fireballs do not track the player once fired, are slow, and can be deflected if the player hits them with a projectile or melee attack. At close range, it is one of the most powerful mob attacks in Minecraft, fourth only to the explosion of a Creeper, the melee attack of an Iron Golem, and the explosion of a Wither skull. A direct hit from point blank range will deal hearts of direct damage, not including damage from burning. When two Ghast fireballs collide, one is deflected to a random direction while the other explodes upon impact. Blocks are also set on fire by the explosion. If a Ghast is killed, any fireball that Ghast has launched will disappear.

The minimum block resistance required to absorb all blast force of the Ghast's fireballs is 20.17 (about the equivalent of a Cobweb).

Video
Note: At 0:39 in the video, it is stated that the player can only kill a Ghast with an arrow, or with deflecting a fireball. However, this is not true. It is possible to kill a Ghast with anything, as long as you can reach it. Usually, this would be when the Ghast has spawned under a fairly low ceiling, so it can't fly away. It is also possible to use a fishing rod to pull a Ghast in close, then hit it.

Trivia

 * In Creative mode, you can go inside of a Ghast by falling through the top of it or flying up underneath it. If you stand on top of the head you will see inside of it.
 * Ghasts can cause other mobs to attack it, but the Ghast will never target other mobs; it will only target the Player. This is because they have no pursuit mode.
 * Unlike other mobs, Ghasts will fly away when hit in Creative mode.
 * If the player is able to fly inside an aggressive Ghast, the mob may die of shooting fireballs at itself. They are also careless about shooting at short range where they will be hurt by the blast.
 * Ghasts are the largest naturally occurring mob by volume - they are eight times as big as the largest natural variation of slime, but the Ender Dragon is longer.
 * If a Ghast is trapped in a 1-thick cube, it will shoot fireballs through the cube. This is because all mobs that shoot, spawn the projectile one block in front of it to prevent the projectile from hitting the mob.
 * On rare occasions, a Ghast will spawn in such a way as to see through blocks (usually trapped on all sides in a tight area). When this happens and the Ghast has 'line of sight' through those blocks, it will launch a fireball in the player's direction. This can be extremely confusing, causing the player to brace for impact, even if no Ghast can be seen.  If the player stays in one place, the fireballs can eventually bore a hole through netherrack to blow up the player.
 * Some rooms in Nether fortresses are big enough for a Ghast to spawn in. However, this Ghast will likely be trapped, as there may not be an exit large enough for it to fit through.
 * If you tweak a mob spawner to spawn Ghasts, the model inside the spawner is larger than the frame.
 * When aiming with an enchanted bow (with at least power I) at full charge, it will kill a Ghast in 1 hit.
 * C418 revealed in an AMA on Reddit that the Ghast sounds are taken from his pet cat, which he makes when disturbed while sleeping.
 * In the game files, there is a sound file called "affectionate_scream", that is currently unused.
 * Using the /summon command, one can spawn a Ghast fire ball without external editors, along with editing explosion power.
 * Two Ghasts are featured in the LEGO set "Minecraft Micro World - The Nether", along with a Zombie Pigman.
 * Ghasts, along with Guardians, are the only hostile mobs that flee when attacked.