Goat

A goat is a neutral mob found in mountainous biomes. Goats perform high jumps and are a source of milk and goat horns.

Spawning
Groups of two to three goats spawn above opaque blocks on mountains biomes, such as snowy slopes, jagged peaks, and frozen peaks at the surface at a light level of 7 or higher. Goats spawn individually and more uncommonly after the world generation. There is a 5% chance for a goat to spawn as a baby goat.

When a goat is spawned, it has a 2% chance of being a screaming goat. They look identical to all other goats, the only difference being that they make screaming sounds and ram more often. There is also a 2% chance of a screaming goat being born from two ordinary goats. There are 4 variants of goat horns that are exclusively dropped by these goats ramming blocks.

Drops
Adult goats drop when killed by a player or tamed wolf, while  is dropped upon successful breeding. Killing a baby goat yields no items or experience.

Goat horns
Goats drop a goat horn when they charge into a solid block. Up to two horns can be dropped per goat.

Behavior
A goat that is not on a honey block can jump up to 10 blocks high and 5 blocks wide (on an even surface). This usually happens if the goat is trying to cross an obstacle like a small hole in the ground or powder snow, sometimes even in a narrow jumping area. Goats take less fall damage and avoid walking into powder snow. Once a goat performs its long jump, it cannot perform another for 30 to 60 seconds. A goat also never voluntarily jumps more than 5 blocks down, though a goat can be pushed off a higher cliff by another mob or a piston.

Every 30 to 300 seconds, if a goat has seen a mob (except for other goats and ghasts) or player who has not moved during the checking interval, it attacks by ramming from up to 16 blocks away (goats do not ram players when playing on the Peaceful difficulty, or while a player is watching them). Goats need 4 blocks of empty space between them and a potential target to ram them. The goat performs a small charging animation and bleats differently after choosing something to quickly ram against, dealing nine blocks of knockback from the collision. The player can suffer a damaging or even fatal fall when the attack knocks the player off a peak. Baby goats deal a knockback of four and a half blocks. In the case that a goat is a screaming goat, its ramming cooldown is only 5 to 15 seconds.

Mobs knocked back by goats do not retaliate. Unlike other neutral mobs, goats do not retaliate when attacked.

Goats flee like most passive mobs when harmed, but they can deal direct damage to the player under certain conditions.

Milking
A goat can be milked by a bucket on it, yielding a milk bucket, which is used for baking cakes and to remove status effects.

Breeding
Goats follow players that are within ten blocks who are holding wheat. If adult goats are fed wheat, they enter love mode and breed; the player is granted one to seven experience orbs. The growth time of a baby goat can be accelerated by 10% each time it is fed wheat.

Baby goats do not have horns.

Sounds

 * The goat's third hurt sound (screaming) and its first ramming preparation sound (also screaming) are the same, but pitched differently; the former is pitched higher than the latter.
 * The goat's fourth death sound (regular) is its first ambient sound (also for regular goats) but lower pitched.
 * The goat's second ramming preparation sound (screaming) is its fifth ambient sound (also screaming) but higher pitched.
 * The goat's first and third ramming preparation sounds (both for screaming goats) are its first ramming preparation sound (regular goats) but heavily edited.





ID




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




 * See Bedrock Edition level format/Entity format.
 * See Bedrock Edition level format/Entity format.

Trivia

 * The behavior of goats' horns, who drop upon sustaining impact without otherwise harming the goat, is inaccurate to real life, and more closely resembles the behavior of a deer's antlers, who, unlike a goat's horns, aren't part of the animal's skeleton and as such can break off the animal's skull without sustaining significant cranial damage.
 * The model for goats was made in Blockbench.
 * The goat is based on the mountain goat.
 * Goat sounds were recorded from real domestic goats.