Beaver

Beavers are passive/neutral mobs in Minecraft. They spawn in swamps, lakes, ponds, taigas, and deciduous forests and often spend the time of their day building their dams.

Behaviour
Beavers can vary on personality depending on the beaver (much like pandas). 80% of Minecraft beavers spawn as nocturnal, while 20% spawn as crepuscular. When a beaver is spawned they automatically go to a tree or log and began carrying it using their mouth and start building dams. When it is snowing, beavers stay in their lodges/dams until the snow is over.

Beavers are usually passive but can attack back though it is rare, they can attack out of nowhere sometimes if a player, dog, cat or any other mob or any sort is too close to their dam/lodges or young, though there’s only a 2% of that happening. Some beavers like to be solitary and even attack and “threaten” other beavers. After two beavers breed it takes four Minecraft days (96000 ticks) for the female to give birth. While the female is in labour she stays in her dam/lodge most of the time while the male keeps watch and duty, this is the time when beavers get territorial (it goes up by 6%) making it a 8% chance during these events that a beaver will attack any mob or other beaver not in its cohort for getting too close to their dam.

Beavers are preyed on by foxes, coyotes, minks, wolves, bears, eagles, and other carnivorous mobs.