promotional banner

No Sleep

You cannot sleep, but can still set spawn point on beds.

You cannot sleep, but can still set spawn point on beds.

The goal of the mod is to make the game more difficult, forcing the player to survive overnight.

Also works for beds from other mods.

 

But what about phantoms? You probably know that if a player have not slept in a bed or died for 3 in-game days, this player gets insomnia and phantoms will start spawning around the player at night. To make things worse, phantoms become more likely to spawn the longer you leave a good night's sleep. After a few nights, there will be a large amount of phantoms spawning around and it can get pretty annoying.

A solution would be to set gamerule doInsomnia to false. But that would make phantoms to stop spawning completely, making it impossible for players to obtain phantom membranes to repair their elytras. To work around this problem, you can use In Control! mod to make phantoms spawn just like another hostile mob would do. Here's a quick tutorial on how to do that:

> After installing In Control! mod, go to .minecraft\config\incontrol (remember that, to generate the config files, you need to run the game once; another option is to create the files manually)

> Copy the code below and paste it inside potentialspawn.json

  1. [
  2.   {
  3.     "dimension": "minecraft:overworld",
  4.     "mobs": [
  5.       {
  6.         "mob": "minecraft:phantom",
  7.         "weight": 5,
  8.         "groupcountmin": 1,
  9.         "groupcountmax": 2
  10.       }
  11.     ]
  12.   }
  13. ]

> Copy the code below and paste it inside spawn.json

  1. [
  2.   {
  3.     "dimension": "minecraft:overworld",
  4.     "mob": "minecraft:phantom",
  5.     "maxlight": 7,
  6.     "minheight": 64,
  7.     "seesky": true,
  8.     "result": "allow"
  9.   },
  10.   {
  11.     "dimension": "minecraft:overworld",
  12.     "mob": "minecraft:phantom",
  13.     "result": "deny"
  14.   }
  15. ]

> Before creating your world, go to Game Rules and set Spawn phantoms to OFF; another option is to use the command /gamerule doInsomnia false inside your world

There you go. This will make phantoms spawn naturally in the overworld at night. Their spawn weight is set to 5, spawning in groups of 1 or 2 (this makes it more rare than an enderman and less rare than a witch). They also are set to not spawn inside caves.

The No Sleep Team

Forgeborn tier frameprofile avatar
  • 1
    Projects
  • 2.8K
    Downloads