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 foxes mouth upon them spawning:

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 it’s head up and down and will not move.

Attacking
If theres 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 and attack it’s 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, snow 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 withhin 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.

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

Issues
Fuchs Fox Lis Лиса 狐狸