Goat

A goat is a neutral mob found in mountainous biomes. Goats can jump especially high and ram mobs. They are a source of goat horns and milk.

Spawning
Groups of two to three goats spawn above opaque blocks on mountain 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. 5% of all goats spawn as babies.

When a goat is spawned naturally or through breeding, it has a 2% chance of being a screaming goat or screamer goat. They look identical to all other goats, but they make screaming sounds and ram more often.

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. There are 4 horn variants for normal goats ("Ponder", "Sing", "Seek", and "Feel"), and 4 horn variants that only screaming goats drop ("Admire", "Call", "Yearn", and "Dream"). Up to two horns can be dropped per goat, and both are always the same variant.

Behavior
When left to wander, goats tend to ascend hills and mountains rather than keep to lowlands. Their behavior is marked by jumping high and by opportunistically ramming non-moving mobs.

Goats take less fall damage and avoid walking into powder snow. Goats do not get hurt by pointed dripstone if they fall on it from a minimum of six blocks, and don't die from pointed dripstone if they fall on it from a minimum of ten.

Jumping
A goat usually jumps when trying to cross an obstacle like a small hole in the ground or powder snow. It lowers its head, then it leaps up to 10 blocks vertically and up to 5 blocks laterally. Once a goat jumps this way, it cannot do it again for 30 to 60 seconds. A goat also never voluntarily jumps more than 5 blocks down, although a goat can be pushed off a higher cliff by another mob or a piston.

Standing on a honey block prevents a goat from jumping.

Ramming
Every 30 to 300 seconds, a goat tries to ram a single unmoving target it can see within a range of 4–16 blocks. They can target players, armor stands, or any mob except for ghasts and other goats. A charging goat locks on to its target's position, lowers its head, stomps, and speeds toward the target. If the charge connects, it deals to  damage (depending on difficulty) and 9 blocks of knockback to its target, possibly resulting in a damaging or even fatal fall.

As a goat lowers its head, its target has the chance to move out of the way. If a goat misses, it stops itself within a couple blocks, unless it hits a solid block first. If a goat rams a solid block that occurs naturally in its environment, it can drop one of its two goat horns.

Wardens are the only exception to mobs not retaliating to being rammed.

Goats don't target players in Creative mode or any players in Peaceful difficulty. Unlike most neutral mobs, goats do not attack the player if the player attacks it, and it does not call for backup if harmed.

Baby goats deal a knockback of 4.5 blocks. A screaming goat's ramming cooldown is 5 to 15 seconds.

Milking
A goat can be milked by a bucket on it. Milk is used for baking cakes and for clearing 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, granting one to seven experience orbs. The growth time of a baby goat can be accelerated by 10% each time it is fed wheat.

If a standard goat is bred with a screaming goat, there is approximately a 50% chance the resulting baby is a screaming goat. If both goats are screaming, there is a 100% chance in Java Edition and a 98% chance in Bedrock Edition that the baby is a screaming goat. Otherwise, there is a 2% chance of a baby goat being a screaming goat.

Unless baby goats are summoned through commands with the HasLeftHorn or HasRightHorn tag set to 1, they 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

 * Real horns cannot break away from the skull without the animal sustaining significant cranial damage. Minecraft's goat horns more closely resemble a deer's antlers, which actually fall off every year.
 * The model for goats was made in Blockbench.
 * Goat sounds were recorded from real domestic goats.