WorldServer.allPlayersSleeping and EntityPlayer.getSleepTimer() accessibility