Mood

With the exception of Nautilus, Coelacanths, Alligator Gars, Sturgeons, and Quaggas, all mobs have a mood that can be raised or lowered. Normally it is set at 0 by default, but things can change this:

Is there enough foliage?

Does the biome seem correct?

Are there enrichment items to play with?

Are any of my species nearby?

Should I be afraid of nearby predators?

If these conditions are met or not met, the mood will lower. Here is a list of moods a mob can go through.

Calm: The animal only attacks if hungry or threatened. This mood ranges from -49 to 49.

Sad/Angry: The animal will either attack on sight or stay far away from everything. This mood ranges from -100 to -99. There's no difference between sad and angry, however.

Content/Happy: The animal will not attack you or anything else, but it still can attack when attacked. This mood ranges from 50 to 100.