NPC despawning

In Terraria, monsters will despawn if you are too far from the monster.


 * The rectangle: width = 120 blocks + the width of the monster itself, height = 67.5 blocks + the height of the monster itself.(the 1920*1080 screen plus the monster's size)

On following conditions, the monster will despawn:


 * The monster is not a part of another larger monster. (Such as boss with multiple parts, the worms' parts, etc. But that does not apply to some bosses, including Skeletron/Skeletron Prime, which means that its hands may despawn like other monster.)
 * All the players have been out of the rectangle for at least 12.5s. (750 ticks)