Goat

Goats are neutral mobs found in extreme hills.

Spawning
Groups of 2 to 3 goats spawn on extreme hills biomes at the surface at a light level of 7 or higher, however, extreme hills is only a temporary spawn.

Behavior
Sometimes, a goat will jump very high into the air. This usually happens if the goat is trying to cross an obstacle like a small hole in the ground. Goats will take less fall damage, only taking  fall damage 25 blocks or lower, and they will also avoid walking into powder snow.

Attacking
Every 10–15 seconds, if a goat is directly looking at a mob or player, the goat will attack it up to 16 blocks away, except other goats or shulkers. Goats will attack armor stands even when not looking at it. After choosing something to attack, the goat performs a small charging animation, then runs very quickly towards the target and hits them, dealing quite a lot of knockback. The ram can travel up to 9 blocks. If the goat misses and instead hits a block, it has a chance of dropping a goat horn.

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 will follow players who are holding wheat. If goats are fed wheat, they enter love mode and will breed. Unlike all other mobs that can breed, when goats are bred they will produce numerous baby goats. 3–8 baby goats are produced when they are bred. Like other animals that can breed, the player is granted 1–7 experience when they are bred.

Drops

 * (when struck against a solid block).


 * when killed by a player or tamed wolf.

Upon successful breeding,.

Like other baby animals, killing a baby goat yields no items nor experience.

Milking
A goat is milked by a bucket on it, yielding a milk bucket. Players can the milk bucket to consume the milk, which removes any status effects.

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.