The Stalker - TroupeMaster/TheDeepVoid GitHub Wiki
Introduction
The Stalker is the most complex mob in the Deep Void. It serves as a punishment for the Player if they stay in darkness for an extended period of time, a bit like the Warden, but for darkness instead of vibrations.
Darkness
When in an area with a light level of 0, the Stalker Spawn Timer will go up for each Player that isn't in light. After exactly 1 minute (which can be changed in the configs), the Stalker will spawn (which can be removed entirely in the configs) somewhere around the Player in a random direction with a random distance.
When in darkness, the Player will hear a Warden's heartbeat, indicating how close the Stalker is. The first heartbeat appears at 40% of the Spawn Timer and a second at 75% of the Spawn Timer. When at 92% of the Timer, a red text saying ''Seek Light'' will appear on screen, right before the Stalker shows up, giving a chance for Player to avoid the encounter. This text only shows up once and can be removed in the configs.
In Light
In light, the Player's Stalker Spawn Timer will go down by 4 every tick.
The Stalker
When the Stalker appears, the targeted Player will be given the Call Of The Void effect for 21 seconds, which will make the Stalker dig to that Player when the effect ends. All Players nearby will be given the Darkness effect and will be able to hear a heartbeat followed by the sounds of souls, which indicates that the Stalker is somewhere nearby.
The Stalker is afraid of light (light entities) and will run away from them. Do note that it will try to get some hits in before fleeing away. It is recommended to place a lot of torches around yourself to make sure it doesn't get those hits in. You can also build up a few blocks to be sure, but keep in mind that the Stalker can jump when attacked if the Player is not too high up on their pillar.
The Stalker can also break doors, trapdoors, fences, fence gates, walls and leaves, so it cannot be trapped by those methods. This ability can be removed in the configs.
When alive, no other Stalkers or Stalking Stalkers can spawn and the Stalker Spawn Timer won't go up. When the Stalker is killed, the Spawn Timer will reset.
Stalker Treat
A Stalker Treat can be used to lower the Spawn Timer when right clicked. If the Stalker already spawned, the Stalker Treat can be thrown away from you by shift right clicking, which will make the Stalker go to where the Treat landed and will distract it for a few seconds. Stalker Treats can be crafted or found in chests in structures.
The Stalking Stalker
The Stalking Stalker is a neutral Stalker that spawns when the Stalker hasn't spawned yet. It will follow the Player throughout the dimension, except in the Gloomy Deathgrounds and the Staring Hills, since the Stalker cannot spawn there. When spawning, the Stalking Stalker will either be shy or not. If it is shy, it will hide when looked at, resurfacing only when the Player is looking away from them. When near the Player, they will either bury into the ground or attack the Player. When burying into the ground, they can despawn or fake it. When attacking, they will attack the Player 3 times before running away and desappearing. When attacked, they will run toward the Player and do the same thing, attacking 3 times before burying into the ground.
When the Player is in darkness, the beating heart will come from any nearby Stalking Stalker instead of being an ambient sound. When the Stalker spawns, all Stalking Stalkers around the Player will bury into the ground and despawn.