About this mod
This mod was inspired by the "Man From The Fog" and the "Cave Dweller" mods.
This mod adds a new mob to the game that has a chance to spawn at night or in caves and it's main goal is to scare the player.
For anyone updating the mod from 1.1.5-1.2.1 to 1.2.2-1.2.5 I would suggest deleting the config from version 1.1.5-1.2.1 because the config from 1.2.2-1.2.5 doesn't automatically update.
If you find any issues or bugs, let me know in the comments or on the GitHub.
This Mod Does Require GeckoLib
(If you wish for the Lurker to have a more HD model here is a resource pack that can do that: "The Midnight Lurker HD")
(If you wish for the Lurker to look how like he did in before 3.1.10 here is a resource pack that can do that: "The Midnight Lurker Legacy")
How the mob works
The mob works by spawning near the player and waits for the player to find them.
Once the player finds the mob they can do one of two things
1: Look at the mob to scare it off (the mob will teleport away)
2: Get closer to the mob without looking at it which will aggravate it and make it attack the player (after about a minute or so of them chasing the player if they cannot catch the player they will teleport away) (The mob will also break the doors of a player's build if the player tries to lock the mob outside when it's aggravated unless the player's build uses iron doors)
(Version 1.0.4 and up: The Lurker will teleport away once it has killed a player and will have a chance to walk towards the player and stop at a certain distance away)
(Version 1.1.9 and up: If the Lurker gets trapped in a boat/minecart he will immediately exit the boat/minecart)
(Version 1.2.2 and up: The Lurker has a small chance to get angry if the player looks at the Lurker and the Lurker can be invisible and follow the player)
(Version 1.2.10 and up: The Lurker has variants.
The "Faker", which will spawn on insanity stage 6, will jumpscare the player and increase their insanity stage by +1.
The "Hider" will hide within the ground when looked at, and if the player gets too close, it will teleport away and leave behind a Void Gateway.
The "Shadow" will stalk the player in dark places like caves and can jumpscare the player.
The "Unprovoked" variant will become aggressive for unknown reasons.
The "Shapeshifter" will appear in villages and can deceive the player into trading with them, and if the player is tricked into trying to trade, he will proceed to attack the player, although if the player figures out who the shapeshifter is and hits him, he will transform back into the Lurker and run away.
The "Neutral/Runaway" will watch the player, and if the player looks at it or gets close, it will either run away or walk towards the player.
The Void Gateway is a portal that the Lurker can leave behind in random spots around the world. Upon interacting with the gateway, the player will either be jumpscared or rewarded by reverting an insanity stage back by 1.
When a "Neutral/Runaway" spawns, it will start the insanity timer of the player closest. If a player kills the "Neutral/Runaway", then the insanity timer will stop, so the player is no longer progressing insanity stages.
When insanity reaches stage 7, the "Aggressive" Lurker will spawn and chase the player down. This Lurker has different traits from the normal ones, as he can duck and crawl into spaces to reach the player. He can also break glass and doors, and if underground, tunnel towards the player if there is space for it.
All Lurkers who walk or run will now be able to climb to get to the player.)
(Version 2.0.3 and up: Any Lurker variant can be attacked directly by the player if lurker_invulnerable is set to false when this is set to false the player's shield will go on cooldown for 2.5 seconds when attacked by the Lurker so the player can't shield spam to kill the Lurker)
(Version 2.2.9 and up: When the player sleeps through the night insanity will stop progressing until the next neutral Lurker spawns)
(Version 2.5.0 and up: The player can eat food to reduce or increase insanity the player can also fish to reduce insanity
The Neutral/Runaway Lurker will stop walking towards the player when close enough and will run away when the player gets too close)
(Version 2.5.8 and up: The player will get "Amnesia" on insanity stage 6 and the Amnesia will despawn mobs if you are close to them and looking away)
(Version 2.8.2 and up: The Void Hands are a variant of the Void Gateway, and when the player gets too close to it, it will reveal itself to the player and will then start to chase the player. The Void Hands can open doors, and once they have low enough HP, they will teleport away and jumpscare the player)
(Version 2.8.7 and up: The invisible entities have a low chance of spawning and when around the player can do certain actions which includes playing a static like jumpscare, playing cave sounds to trick the player into thinking they're being watched, following the player, watching the player, and playing Lurker running sounds as a sort of fake out.)
(Version 2.9.8 and up: The "Creep" will watch the player, but if the player attacks or goes really close to it, then it will attack the player, and if the player looks at it, then it will teleport near the player instead of teleporting away.
The "Unprovoked", "Stare", and Nether variants of the Lurker can be stunned when attacked but will have a stun cooldown period where the player cannot attack them.
The "Phantom Head," if looked at, will slowly float towards the player, and if close, will force the player to look at it as it gets closer and closer.
The damage of the Lurker variants that are able to attack the player scales with the player's armor, so they are never safe, even when overpowered.
The Shapeshifter Pig and Cow will attack the player if the player tries to kill them for food.
The Lurker will kill animals if the player is not near.
The "Unprovoked" won't always disappear when looked at.
The Lurker will swim somewhat faster if the player is in a boat.)
If you find the sounds in the mod to be too loud then you can turn them down, the sounds are a part of the "friendly creatures" sound option in the options menu.
The ambient sounds are a part of the "Jukebox/Note Block" sound option in the options menu if you wish to turn them down instead of turning them off.
Config Settings and how to use the the Config
To use the config, you have to go into your Minecraft game directory, then go into the "config" folder and it should be there. You can edit the config with Notepad, Notepad++, or any code editor you may have installed.
Config Settings:
1: lurker_chase_music If set to true, music will play while the Lurker is chasing after you. If set to false, music will not play while the Lurker is chasing you.
2: 1.1.5-1.2.1: lurker_low_spawn_rate If set to true, then the spawn rate of the Lurker will be low, but if set to false, then the spawn rate for the Lurker will be high.
2: 1.2.2 and up: lurker_spawn_rate If set to 1, then the spawn rate of the Lurker will be low, but if set to 5, then the spawn rate for the Lurker will be high. There are also in-between options from 2 to 3.
3: pop_up_jumpscare If set to true, a jumpscare overlay will pop up when the Lurker gets too close to you; if set to false, then the overlay will not appear.
4: jumpscare_sound If set to true, then sounds will play when you are too close to the Lurker. If set to false, then the sounds will not play.
5: 1.2.9 and down: blindness_in_chase If set to true, if you are within a certain distance of the Lurker, you will get blindness/darkness while the Lurker is chasing you. If set to false, you will not get a blindness/darkness effect when the Lurker is chasing you.
6: longer_lurker_chase If set to true, the Lurker will chase you for around 2 minutes; if set to false, the Lurker will chase you for around 1 minute.
7: spooky_ambience If set to true, then "spooky ambience" will play. If set to false, then "spooky ambience" will not play.
8: multi_spawning If set to false, then only one Lurker will spawn within a large radius of the player; if set to true, then multiple Lurkers will be able to spawn around the player.
9: insanity_progress_effect If set to true, then the player will get the potion effect of insanity, and Lurker faces will show up around the player when the insanity stage goes up by 1. If set to false, then nothing will show or happen when the stage progresses.
10: insanity_countdown_time The insanity countdown time determines how long the timer is for insanity. 1 = 5 minutes, 2 = 10 minutes, 3 = 20 minutes, and 4 = 30 minutes.
11: lurker_invulnerable If set to false, then the Lurker will be killable when the player is hitting it directly, and when the player is hit if they are shielding, then their shield will go on cooldown for 2.5 seconds. If set to true, then the only killable lurker will be the Runaway/Neutral, and the player's shield won't go on cooldown when hit by the Lurker.
12: lurker_spawn_close 2.0.7-2.5.8, shadow_spawn_close 2.0.7-2.8.2, and faker_spawn_close 2.0.7-2.8.2: If any of these are set to true, then those respective variants will spawn closer to the player but will also spawn more frequently depending on what your spawn_rate is set to. If set to false, then it will use the default spawning system that was implemented and will spawn them less and further away.
13: nether_lurker_spawn_rate If set to 1, then the spawn rate of the Nether Lurker will be low, but if set to 5, then the spawn rate for the Nether Lurker will be high. There are also in-between options from 2 to 3.
14: amnesia If set to true, then the player will gain the amnesia effect while on insanity stage 6. If set to false, then the player will not gain the amnesia effect while on insanity stage 6.
15: invisible_entities_spawning If set to true, then invisible entities that can play, sound rarely, and follow the player will be able to spawn. If set to false, then these invisible entities will not spawn.
16: encounters_progress_stages If set to true, then if you encounter the Lurker by going close to him six times, the insanity stage will go up by one. If set to false, then this will not happen.
17: show_amnesia_effect_in_inv If set to true, then you will see the Amnesia effect inside your inventory. If set to false, then you will not see the Amnesia effect in your inventory.
18: show_insanity_effect_in_inv If set to true, then you will see the Insanity effect inside your inventory. If set to false, then you will not see the Insanity effect in your inventory.
19: villager_shapeshifter_spawning, cow_shapeshifter_spawning, pig_shapeshifter_spawning If a specific one of these is set to false, then that specific entity will not spawn. If set to true, then it will spawn.
20: lurker_persist_during_day If set to true, then the Lurker will stay during the day from the night before; if set to false, then the Lurker will disappear during the day.
(This mod is made for Forge.)
(Report any bugs or issues you find here: Issue tracker)