Wolf

Wolves are neutral mobs that can be tamed.

Spawning
Wolves spawn naturally above grass blocks, dirt, coarse dirt or podzol in forests, taigas, giant tree taigas and snowy taigas, along with all variants of these biomes (with the exception of flower forests), in packs of 4, where 10% spawn as pups.

Naturally-spawned wolves are untamed and become hostile if attacked by the player.

Drops
Adult wolves drop experience orbs when killed by a player or tamed wolf. A tamed wolf that is killed by its owner still drops experience.

Upon successful breeding, are dropped.

Like other baby animals, killing a pup yields no experience.

Behavior and appearance


Wolves exhibit three different states depending on how the user interacts with them:


 * Untamed wolves have gray fur, a drooping tail, and their eyes consist of a white pixel and a black pixel for the pupil (on each side). They are neutral toward the player and hostile toward sheep (who instantly kills them), rabbits, foxes, baby turtles (groups retaliate when one wolf attack the baby turtle/turtle egg, who instantly kills them too)), and skeletons. They avoid llamas, although wolves may attack a llama that spits on them. They do not despawn, even if they are in an unloaded chunk, or 32 blocks away from the player.
 * Angry wolves are characterized by their constant growling and fearsome appearance. Wild wolves become hostile when they are either attacked by a player or mob, or when they see a mob they want to eat. Their tail is held out straight, their eyes become blood red, their mouth is raised in a slight snarl, and they have angry eyebrows. Angry wolves are hostile only to mobs that attack them, or to the mobs they are hunting. They can see attackers even if they are under the invisibility effect, but they cannot track the attacker down, if they get out of their render distance, or the attacker was able to unload the chunk where the wolves were. Angry wolves cannot be leashed, but a wild wolf may become angry while it is still leashed without dropping the lead.
 * Tamed wolves  have friendlier looking eyes. They have a default red collar around their neck, which can be dyed using any color of dye on the wolf. This also includes other wolves owned by other player, where any player can dye that wolf's collar. Pressing  on the wolf makes it sit and remain in place and not follow the player around. Tamed wolves that are not sitting attack players or mobs that their owner attacks, or those that injure their owner unless the target has the same owner or is on the same team. They do not attack creepers, ghasts, tamed horses or tamed cats, regardless of owner. Standing tamed wolves attack skeletons and their variants without provocation, but not sheep, baby turtles, passive rabbits, llamas or foxes. Tamed wolves are always passive to the player, even if the player hits them or kills a tamed wolf on the same team.

A wolf becomes hostile to a player or other mob that attacks it unless the attacker is the wolf's owner or is otherwise on the same team. It also causes wild wolves and standing tamed wolves in a 33×33×21 cuboid centered on the attacked wolf to become hostile to the attacker, allowing coordination for attacks and team hunts (only in wild wolves).

In Java Edition, any tamed wolf attacked by a player/mob causes all standing wolves on that team to attack that player/mob who attacked the tamed wolf.

Skeletons and their variants, foxes and passive rabbits actively avoid both tamed and wild wolves. Killer rabbits attack wolves actively. Sheep instantly kills wolves. Sheep do not ignore attack tamed wolves nor flee from them.

When a player within 8 blocks holds meat or bones near a wolf, the wolf tilts its head as if to 'beg' for the food for 2 to 4 seconds.

The behavior of pups is the same as tamed wolves. Pups have larger heads, similar to other animal babies.

Wolves are 0.85 or 0.8 blocks tall and pups are 0.425 or 0.4 blocks tall. The textures of the wolves are tinted dark gray once submerged in water.

In peaceful difficulty, hostile wolves deal no damage to the player.

Movement
Standing tamed wolves wander randomly when near their owner, but follow if more than 10 blocks away and teleport to a nearby free block (if any) if more than 12 blocks away. Besides making travel easier, teleportation can be used to rescue them from lava, water or pits, as they immediately teleport to a safe area.


 * Wolves can be told to "sit" by pressing on them and made to stand again with another press of.
 * A wolf automatically sits when first tamed.
 * While sitting, they do not follow the player. However, if their owner fights a mob near them, they are still likely to join the fight. When the fight is over, they go back to sitting (if in water, they do not sit until they are on dry land, telling the wolf to sit makes it stand). They sit at their new location instead of returning to wherever they were previously.
 * Wolves stand up and follow the player if it is pushed into water or injured while sitting.
 * Wolves can either attack (within 1 block) or flee (within 2 blocks) from llamas. The wolves' speed is decreased by 50% whereas they flee.
 * Wolves find paths to their targets if attacking within 16 blocks, even in difficult terrain. (Unlike s) they can't navigate along the edges of cliffs and occasionally fall far enough to take damage if they leap. Tamed wolves still navigate the things above)
 * Wolves attack their targets running about at the player's walking speed and by leaping at them in exactly the same manner as spiders, but cause no damage while in midair. Tamed wolves attack any animal the player starts to attack. They can't navigate and turn around in 1×1 horizontal tunnels.
 * After emerging from water, a wolf shakes the water off their fur. This is represented by an animation and water particles.

Teleportation
Tamed wolves teleport to their owner, if they are more than 12 blocks away, with a few caveats.
 * Teleporting resets the focus of a tamed wolf, so if a wolf is attacking a mob and teleports beside a player, it resumes following the player, as its tracking has been reset.
 * It is possible for tamed wolves to teleport to an inaccessible location (e.g. under ice) and be injured or die of suffocation as a result. This happens when the wolf considers transparent blocks, like glass, or half-blocks, to be open.

A wolf does not teleport:
 * If the wolf has been ordered to sit.
 * Exception: The wolf is likely to teleport if it is injured while sitting (it no longer sits after teleporting). An example is if a wolf that is sitting is hit by another player, it teleports to their owner.
 * Exception: If the wolf is in a loaded chunk, and the player gets damaged by a mob, there's a chance for the wolf to stop sitting, causing them to teleport if the player is far away, then attacking the player's attacker and sitting down afterward.
 * If the wolf is chasing after a skeleton. This can lead to wolves standing and jumping in one place, such as over a cavern if a skeleton is near. The wolf teleports once the skeleton is killed.
 * If the wolf is in a minecart or a boat.
 * If the wolf has been attached to a fence post with a lead.
 * If the wolf is in an unloaded chunk.
 * If none of the blocks on the edge of a 5×1×5 region centered on the player are transparent blocks with a solid block below and another transparent block above.
 * If the player is in another dimension; a wolf remains in its current dimension until the player returns. However, wolves can be transported to another dimension by pushing them into the portal first.
 * If the owner is not directly touching the ground (e.g. using elytra, swimming, flying, in a boat).
 * If the wolf is in any body of water, it may not teleport to the owner.

Wolf teleportation is completely silent; this is not an oversight.

Taming, health and feeding


A wolf can be tamed by feeding it bones. Once tamed, a wolf does not accept any more bones. Note that the number of bones required is random – each bone has a $1/3$ chance of taming the wolf. If the wolf is tamed, it receives a red collar and, in Java Edition, sits if not swimming. There is no limit to the number of wolves the player can tame.

A wolf's tail rises and lowers depending on its health. The exact health of an individual wolf can be determined by measuring the angle between its hind legs and tail. The angle indicates the percentage of health that the wolf has. Tamed wolves whine when they have low health (at least or lower). Wild wolves have a maximum health of, so their tails always remain significantly lower than those of tamed wolves. Tamed wolves can be healed by feeding them any sort of meat other than fish; listed below, this restores as much of the wolf's health as the same food would restore hunger points when eaten by the player..

The wolf cannot be tamed if it is hostile or already tamed.

Wolves that are tamed by the same player can accidentally attack each other while attacking another mob, leading to a fight.

Wolves do not get food poisoning, so they can freely eat rotten flesh, pufferfish or raw chicken. Feeding a tamed wolf that is already at full health usually starts the "love mode" animation.

A tamed wolf's necklace/collar color can be changed by a dye on the wolf.

Breeding


Tamed wolves at full health can be bred with any type of meat, including rotten flesh and raw chicken without causing the hunger status effect. There is a 2.5-minute cooldown for breeding, during which the wolf does not accept meat.

The growth of pups can be slowly accelerated using any type of meat. Each use takes 10% off the remaining time to grow up. Unlike healing, breeding and speed growth cannot use rabbit stew or any type of fish.

Breeding two wolves that recognize someone else as an owner causes the pup to also be owned by the owner of the original two wolves. If two tamed wolves with different owners are bred, the owner of the pup is the owner of the older parent wolf.

If the player attacks an untamed wolf and then feeds it, hearts appear as when entering breeding mode, although the wolf does not breed and remains aggressive toward the player.

ID




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




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

Videos

 * Wolves when they were in development uploaded by Jeb as shown below.

Trivia

 * If a tamed wolf is named with a name tag, its name is shown in the chat when killed.
 * Wolves can teleport into transparent blocks.
 * In singleplayer, if the player punches a wild wolf and leaves its field of vision, it stares at the player and does not move at all. Going back into its range causes it to continue pursuing the player.
 * A hostile wolf can path-find like most mobs, but may sometimes try to jump across a 1–2 block gap to get to a player. A wolf cannot scale a two-block gap, so it falls, but may still manage to damage the player.
 * Untamed wolves use their hostile appearance when they are attacking sheep, skeletons, foxes, baby turtles or rabbits. They change back once the targeted mob dies or gets out of their range.
 * Attacking a wild wolf in Peaceful Mode aggravates the wolf and its group, but they do no damage.
 * A wild pup's head grows significantly when attacked.
 * If the player attacks a wolf, but then moves a large distance away (e.g. 70 blocks), the wolf still appears hostile, but exhibits neutral behavior.
 * Wolves chase bats despite being unable to reach them.
 * $$, a glitched adult "red wolf" can be spawned using the command, and a "red pup" can be spawned with . The wolf cannot be tamed, bred or fed, though its model color can be altered by using various dyes. A tamed version of this "red wolf" can be obtained by taming it as soon as it becomes hostile toward a mob such as a skeleton.
 * A tamed wolf tilts its head toward the player when the player is holding bones, despite it no longer being able to accept bones.
 * If a player feeds a sitting wolf and a standing wolf, the sitting one slides toward the standing one to breed. The sitting one remains in its new spot until moved.
 * If a player uses the command to give a tamed wolf with max health health boost 255, absorption 255 and Regeneration 255, the tamed wolf’s tail may begin spinning all the way around constantly, or it just points directly up.