Omnilight

The Omnilight is a flying ranged mob that spawns in the Shyrelands.

Spawning
Omnilights can spawn naturally below y = 35 in the Shyrelands.

They will despawn if the player gets too far away from them, or if the difficulty is set to Peaceful.

Behavior
If not provoked, omnilights will remain idle. Upon catching sight of a player, omnilights will hover above the ground towards the player's direction. If the player leaves their sight range (16 blocks), omnilights will begin flying in random directions, while gaining altitude, until a player gets back into range.

Omnilights will follow players into water, unlike other mobs.

Omnilights can fire projectiles at the player. Whenever the player is in range, they have a 6.6% chance every tick to fire a projectile in the player's direction. This projectile will do damage upon contact with the player, and is affected by gravity.

Omnilights will still attack players inflicted with invisibility like normal, unlike other mobs.