Passive mobs will probably stroll in the direction of illumination sources at
nighttime. However, passive mobs would rather remain on grass and may choose
it more than a light source.
Passive mobs won't harm a gamer or another mob, with the exception of ocelots,
that can assault chickens. If a passive mob is attacked, it will make an effort to
flee. However, many times, it attempts to escape by running in a circle; therefore
it’s not too tough to continue to keep attacking them.
Neutral Mobs
Neutral mobs act similar to passive mobs when they’re in a neutral state. As soon
as they’re triggered, each mob may react accordingly.
Hostile Mobs
Hostile mobs will only appear in light levels under eight, though a few will solely
spawn in rather precise conditions.
Similar to passive mobs, aggressive mobs tend to roam throughout the spot they
have spawned on. Nonetheless, as soon as a gamer is in their range of about 15
blocks, the mob will attempt to fight you. A few hostile mobs, such as the
skeleton and zombies, present a superior AI program that allows these to
overcome and avoid different types of hurdles, like walls and lava.