promotional bannermobile promotional banner

Night Terror

Brings back the possibility of being woken up by a monster.

 

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 restthere 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.

 

What about multiplayer/LAN

It is simple, if any player is woken up by a monster, all players will wake up at night.

 

Customizability

Since I expect this mod is more likely to be used in modpacks rather than standalone, I added a configuration file (nightterror-common.toml), where you can change few settings:

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.

The Night Terror Team

profile avatar
Owner
  • 34
    Followers
  • 10
    Projects
  • 3.1M
    Downloads

I swear I will update one of my mods at some point

More from SophkaView all

  • [7 Days to Mine] project image

    [7 Days to Mine]

    • 405.0K
    • Mods

    7 Days to mine is a large zombie apocalypse mod, based on the 7 Days to Die game by The Fun Pimps. Survive in a world full of ruins, abandoned cities, and zombies.

    • 405.0K
    • June 16, 2024
    • Mods
    • +4
  • TinyInv project image

    TinyInv

    • 181.3K
    • Mods

    Allows you to disable inventory slots and change the size of the hotbar

    • 181.3K
    • April 4, 2024
    • Mods
    • +1
  • Caelum project image

    Caelum

    • 2.5M
    • Mods

    More realistic (and configurable) celestial bodies movement

    • 2.5M
    • July 31, 2023
    • Mods
    • +1
  • TinyInv (FABRIC) project image

    TinyInv (FABRIC)

    • 538
    • Mods

    Reducing your inventory in the most vanilla-friendly way possible.

    • 538
    • February 13, 2022
    • Mods
    • +1
  • [7 Days to Mine] project image

    [7 Days to Mine]

    • 405.0K
    • Mods

    7 Days to mine is a large zombie apocalypse mod, based on the 7 Days to Die game by The Fun Pimps. Survive in a world full of ruins, abandoned cities, and zombies.

    • 405.0K
    • June 16, 2024
    • Mods
    • +4
  • TinyInv project image

    TinyInv

    • 181.3K
    • Mods

    Allows you to disable inventory slots and change the size of the hotbar

    • 181.3K
    • April 4, 2024
    • Mods
    • +1
  • Caelum project image

    Caelum

    • 2.5M
    • Mods

    More realistic (and configurable) celestial bodies movement

    • 2.5M
    • July 31, 2023
    • Mods
    • +1
  • TinyInv (FABRIC) project image

    TinyInv (FABRIC)

    • 538
    • Mods

    Reducing your inventory in the most vanilla-friendly way possible.

    • 538
    • February 13, 2022
    • Mods
    • +1