Minecraft Mods

Night Terror

  • 21,908 views, 3 today
  • 2,061 downloads, 1 today
  • 19
  • 12
  • 4
Nuparu00
Level 52 : Grandmaster Modder
33

About



Night Terror is a simple mod, that brings back an old mechanic, that was present in Alpha and Beta versions of Minecraft. In these versions, if you slept in an unlit area, there was a chance of being woken up by a zombie or skeleton. In Minecraft 1.0.0 this mechanic was replaced by the "You may not rest, there are monsters nearby" message.


How it works



At the moment when you should all players present on the server wake up, the game checks an area around each one of them, and if there is any reachable unlit block and they have bad luck with the "RNG roulette", a monster (zombie or skeleton) will spawn next to their bed and instead of day it is still night. The game allows you to use a bed even if there are monsters nearby, though if the monster manages to hurt you before you fall asleep, you will wake up. However, it still saves you from having to stay up if the monsters are for example outside of your house.

Demonstration


What about multiplayer/LAN



It is simple, if any player is woken up by a monster, all players will wake up at night. If you are using the mod on a larger server, it might be better to disable the interrupt sleep option in the config file.


Customizability



Speaking of customizability, the mod allows you to change quite a few things in the config file (nightterror-common.toml), as I expect that the mod is more likely to be used in modpacks where the authors might want to customize the behavior to fit their vision.

  • check_range - how far from the bed should the game look for "dark" spots.
  • terror_chance - the base chance of being woken up. This chance is multiplied by a "difficulty modifier" (Peaceful - 0.5, Easy- 0.75, Normal - 1, Hard - 1.5).
  • interrupt_sleep - if this value is false, the monsters will wait until you wake up in the morning.
  • wake_damage - the amount of damage dealt with the player when woken up by a monster
  • waking_entities - a list of all entities, that can wake the player up. Accepts even modded entities, as long as they are instances of MobEntity class.


Known issues



Minecraft's pathfinding can be sometimes rather silly - especially when dealing with things like slabs or height differences - therefore having unlit spots on a roof can sometimes cause monsters attacking you even if there is no way they could get to you. If this happens, you should either put some torches on your roof/around your house or decrease the check_range in the configuration file.
Progress95% complete
Game VersionMinecraft 1.18
Tags

2 Update Logs

1.18.1-1.0.0.0 : by Nuparu00 12/17/2021 5:42:51 pmDec 17th, 2021

  • Updated for Minecraft 1.18.1
LOAD MORE LOGS

Create an account or sign in to comment.

PoeticRainbow
05/15/2020 9:30 pm
Level 61 : High Grandmaster Blockhead
As much as this feature was annoying, man do I miss it.
2
conflicttFTW
04/29/2020 10:11 am
Level 52 : Grandmaster Magical Girl
God I remember this- didn't they remove it because they couldn't get it to work right or something? I remember trying to sleep in a dirt hut filled with torches and still getting attacked lmao.

This works a lot better than Mojang's version from way back then.
1
Golden Melon
04/26/2020 3:56 am
Level 32 : Artisan Pixel Painter
how did you make the title in the title its beautiful
1
Nuparu00
04/30/2020 4:59 am
Level 52 : Grandmaster Modder
Hi. I used the Minecraft Evenings font. I used Adobe Photoshop to make the text 3D, rotated it as I liked, and then applied a stroke and gradient effects. I am sure there are some tutorials on YouTube for this. Alternatively, you could probably use something like Blender or Cinema 4D.
1

Welcome