Goat

Goats are neutral mobs found in mountains.

Spawning
Groups of 2 to 3 goats spawn above opaque blocks on snowy slopes biomes at the surface at a light level of 7 or higher.

Behavior
Sometimes, a goat jumps up to 10 blocks high into the air. This usually happens if the goat is trying to cross an obstacle like a small hole in the ground or powder snow.

Goats take less fall damage and also avoid walking into powder snow. While avoiding walking over powder snow, they also might jump over it, sometimes even in a narrow jumping area.

Unlike mobs such as sheep or cows, goats cannot swim, and in water deeper than one block they will sink and drown unless rescued.

Attacking
Every 10–15 seconds, if a goat has seen a mob or player who has not moved since, the goat attacks from up to 16 blocks away, except for other goats. After choosing something to attack, the goat performs a small charging animation, then runs quickly toward the target and hits them, dealing significant knockback. The ram can travel up to 9 blocks. If they knock the player off a mountain peak, this can result in the player suffering a large or even fatal fall.

If the goat misses and instead hits a block, it has a chance of dropping a goat horn. If both horns are dropped, then no more goat horns are dropped when the goat charges a block.

Goats do not attack back if attacked by a player or mob. When attacked, they exhibit the same panicky fleeing that passive mobs exhibit.

Breeding
Goats follow players that are within 10 blocks who are holding wheat. If goats are fed wheat, they enter love mode and breed. Like other animals that can breed, the player is granted 1–7 experience when they are bred.

Drops

 * 1 when struck against a solid block, can be dropped two times per goat.


 * 1–2 ( if killed while on fire). The maximum amount is increased by 1 per level of Looting, for a maximum of 1–5 with Looting III.


 * when killed by a player or tamed wolf.

Upon successful breeding, is dropped.

Killing a baby goat yields no items nor experience.

Milking
A goat is milked by a bucket on it, yielding a milk bucket.

Entity data
Goats have entity data associated with them that contain various properties.

Trivia

 * Goats are the fifth mob that were added to a beta before a  snapshot. The first four mobs this happened for were dolphins, pandas, cats and piglin brutes.
 * Goats are the first neutral mob that does not fight back after being hit.
 * The model for goats was made in Blockbench.
 * Goats are one of the 4 mobs that were added as a result of the community voting for it, the others being the phantom, fox, and glow squid.
 * Goats are present in the Bedrock Edition 1.16.200 full release, though they can be obtained only through add-ons.
 * Goat sounds were recorded from real goats. The same is true for pandas and dolphins.
 * Some of their sounds come from the goats in Minecraft Dungeons.