Fox

Foxes are nocturnal passive mobs that spawn commonly in taiga and snowy taiga biomes.

Spawning
Foxes will spawn in taiga and snowy taiga biomes and sometimes in taiga villages, in groups of 1–3. They will spawn more commonly at night time, sleeping in the forests. There is a $1/6$ probability of the fox spawning as a baby.



Items in mouth
These items have a 8.5% chance to be automatically in a fox's mouth when they spawn:

Appearance
Foxes appear differently depending on what time of day it is and their surroundings.

Sleeping
During the day, foxes will attempt to find a space with a block above it and begin to sleep, while the fox is sleeping it will slowly move its head up and down and will not move.

Attacking
If there are any targets nearby such as a chicken, the fox will crouch down for about 2 seconds, then jump into the air 2-3.5 blocks up and attack its target, similar to when a dolphin jumps out of the water. The fox will only attempt to jump if it has a focused target, and otherwise won’t ever use this animation.

Sitting
A fox will also randomly sit down every so often, usually during the day if the fox cannot find a “shaded” area to sleep.

Drops
Upon death, foxes drop: Like other baby animals, killing a baby fox yields no experience. Foxes will always drop any items they pick up and drop items they spawn with with a chance of 8.5%.
 * 1–2 orbs when killed by a player or tamed wolf.

If a fox is killed while holding a this item will not drop, but be consumed to revive the fox.

Behavior
Foxes are nocturnal, sleeping under trees during the day but are active at night (although they will wake up and quickly flee if approached by a player). They move quickly, about the same speed as ocelots, and will flee from any nearby players and wolves. If any item is on the ground near a fox, it will travel to it and pick it up and it will appear in the foxes' mouth. This behavior is not limited to food and animal products. Foxes can be fed with sweet berries.

When sweet berries are on two foxes, the foxes will breed, producing a baby fox. The baby fox will "trust" the player, and never run away from them.

Foxes will attack chickens and rabbits, jumping over fences and walls when necessary. Foxes will also attack cod, salmon and baby turtles on land but not tropical fish or pufferfish. Red foxes prefer to attack chickens, rabbits, and baby turtles, all of which are on land, over cod and salmon; vice versa, arctic foxes prefer to attack cod and salmon over land creatures. Wolves are aggressive towards foxes when within 18 blocks of them. Polar Bears will try to attack foxes: They will sneak towards them and will attack them, if they are close enough. Baby Polar Bears, normally passive, will also attempt to attack a fox within 16 blocks.

When spawned in a snowy biome, foxes will be white in color.

If there is a stage 3 or 4 sweet berry bush within a 16 block radius of a fox, it will sprint towards it, harvest it, and eat the berries, dropping the item it was holding.

A fox will eventually eat any food item it picks up (besides cake, this is because cake has to be placed down to be eaten, this denies foxes can pick it up and eat it.) and the fox is unaffected by the ill effects of food items such as spider eyes. If a fox sees any food item, the fox will run towards it and pick it up.

During the night foxes will head to villages or go out to hunt, foxes going to villages is based off of foxes raiding older towns of food in the real world, foxes dont have the ability to steal from villages yet, except crops dropped from villagers, but they pick it up to fast anyway, so they wonder off. Keep an eye out for smaller foxes hidden around the houses, as they are easy to sopt locked in houses and in the wells.

Data values
Foxes have entity data associated with them that contains various properties of the mob. Their entity ID is.

Trivia

 * Although foxes appear to hold items in their mouth, they are actually holding items in their main hand.

Fuchs Fox Lis Лиса 狐狸