3 - Add backwards compatibility with PilzAdam's beds mod
6 - Prevent possible crash
10 - Add fancy bed model (based on jp's model)
11 - Add API to register beds
12 - Allow players always to detach from bed (by donat-b)
13 - If more than 50% of players want sleep they can skip the night
14 - Don't show sleep dialog in singleplayer
18 - Prevent possbile crash by trying to reposition leaving players