Brown and black bears spawn in Temperate regions, and may be present in Warm or Cool regions, though brown bears spawn at slightly higher latitudes than black bear.
Panda and sun bears spawn in Warm/Hot regions.
Polar bears spawn in Cool/Cold/Icy regions.
Worldgen spawn conditions
Bears shouldn't spawn during the first 4 in-game days[2] but they do in 1.19.4.
Bears spawn on the world's surface, in grass , shallow snow, or air.[3]
Most bears prefer forested areas with some precipitation, but trees are not necessary, and removing vegetation doesn't affect their ability to spawn.[4]
The maximum elevation for all bear variants to spawn is 1.6.[5] If default sealevel is Y 110, and 110x1.6=176, then the player should not encounter many bears above Y 176. Bears can still wander to higher elevations after spawning, especially if chasing prey.
The TriesPerChunk is 0.015.
An adult male bear might spawn alone, or with one adult female, with an average group size of 1, ±1.
In the table above, temperature refers to annual average, rather than the current temperature a player can observe in the Character panel.[6]
Runtime spawn conditions
After worldgen, the temperature etc. conditions for spawning are the same.
However, bears will not spawn in areas of artificial light higher than level 7. This is intended to prevent wild animals spawning in obviously-developed areas.[7]
Though bear.json says groupSize: { dist: "verynarrowgaussian", avg: 1, var: 1 } it also says maxQuantity: 1. It's highly unlikely that a group of bears can spawn during runtime.[9]
Whether a bear spawns is dependent on a location meeting its spawn requirements when a spawn check occurs; there are no "spawn points" that repeatedly produce specific animals.[10]
Despawn conditions
Bears might despawn if in the dark (below light level 8) for 5 minutes and at least 16 blocks away from the player.[11]
Bears should de-spawn after 14 in-game days.[12] But if provided enough light, or frequent visits by the player, it seems possible to "keep" a bear indefinitely.
Note: Cubs do not appear in the game at this time.
Behaviors
Bears have a 5% chance of growling while idle, giving players little warning that they're in the area.
Brown bears, black bears and pandas can easily escape a pit 3 blocks deep. Polar bears and sun bears can only jump up 2 blocks. Polar bears are the only variant that cannot use ladders.
All bears can easily hit players/creatures over a fence 1 block high, but they can't jump over fences on level ground. Note: if the player puts a block such as a lantern on top of a fence, that creates a weak point where a bear could climb over.
Polar bears swim faster than other variants. Their movespeed to get out of water is 0.035, compared to 0.015 for other variants.[13]
Most bears cannot fit through a doorway 1 block wide. A female sun bear's collision box is only x: 1.0, y: 0.9.[14]
Bears tend to sleep from 01:00 to 03:00 and 10:00 to 18:00. They will stop sleeping if they receive damage or if the player gets within 10 blocks.[15]
Bears occasionally stand on their hind legs and look around.
Combat
If a bear receives damage, it might become aggressive towards any creature within 30 blocks.[16]
Bears have a 0.01 chance to leap at their target.
In addition to their melee attack, bears have a slashing attack that deals 15 points of tier 2 damage:[17]minDist: 2 and minVerDist: 1.5. This attack can probably be avoided by standing in a narrow pit 3 blocks deep.
When a bear's health gets below 30%, it might turn and flee the player. The chance for panda bears to flee is 30%, while the chance for black bears to flee is 10%; the chance for polar, brown, and sun bears to flee is only 5%.[18]
If a fleeing bear gets further than 20 blocks from its attacker, it might stop running and even lie down. If the player approaches within 20 blocks, it will resume running away.[19]
After 30 seconds without taking damage, a bear will stop fleeing and resume normal behavior.[20]
Prey
Black, brown, and polar bears will occasionally rampage without provocation. They seek prey within 20 blocks:
Bears do not drop any bones. Harvested corpses leave behind large bony carcasses, which the player can break to obtain bones. Unharvested bear corpses decay into bony carcasses after 4 game-days.[24]
Prior to v1.20-rc.5, bears neglected to attack goats during rampages, and domesticated goats were safe.[32]
Notes
It's unclear how quickly creatures regenerate health.
Male brown bears are 25% larger than male black bears, and polar bears are 40% larger. Panda bears are 20% smaller than black bears, and sun bears are 40% smaller.
While bear.json says basketCatchable: true, the trapChance is 0, so none are possible to catch in reed basket traps.
The trapDestroyChance is 90%.
Gallery
Teaser image from devlog for 1.17.0-pre1
See also
References
↑Line 308 of %appdata%\Roaming\Vintagestory\assets\survival\entities\land\bear.json