This is an unofficial NeoForge port of BedIsNotTooFarAwayReforged.
This mod will disable the annoying popup "You may not rest now; the bed is too far away" and instead lets you sleep.
In addition, you can disable "There are monsters around so you can not rest" in config file bintfarf-common.toml.