Jedi Knights dream of the future and the past, and they use their knowledge to influence the course of history for good against evil.
Dreams are a conduit to the whole of time and space, every dimension including our own; you can dream the future, and it can happen exactly that way in the real future. Or in the past. Your body knows this, which is why you feel terrified in a scary dream; it's real, only it hasn't happened yet, so it's not. But it could be, later. Or earlier, even.
EG- I awoke with a terrible pain on the top right part of my head, and I regretted hitting my head, because I was very dizzy, and my ears were ringing, and I was stupid, in the dream anyway. I reached up and felt my head, and realized there was no dent, and it was smooth, more or less as it should be, and I was very relieved, because I wasn't dizzy, and my head felt fine. I later hit my head, denting the exact spot from the dream, and had these exact feelings. It's healing, slowly. In another dream the summer before, I went to my freshman year at this university and I met a few students, and started a band with them. Only it was a dream. Months later I went to school and met these exact people, same name face and everything. I had never seen or known of them before that dream. I have dreams of being humiliated, or hurt, and then I see myself walking into these exact situations in real life, and I smoothly avoid them, as if I already been there, and knew not to go back. These are those "Jedi senses" you heard about; you know, the ones that allow you to see things before they happen? The key is relaxation. Happiness, comfort, euphoria, whatever you want to call it, can and will enlighten you.
All of this stems from one time I dreamed of something that later happened while I was tripping on golden mushroom stems in my video film class. I recommend mushrooms, if you need to reset your mentality, although very few can pull off taking them in class. I got away with it only because my teacher's wife had just died of cancer, and he was about to retire, but the adrenaline I felt then, and later as I spoke to my mother, tore through the boundaries I previously thought my mind had; my dreams are real, and I am a Jedi.
On the Jedi Code*
"One of the key portions of the Code was a five-line mantra. Several versions of the mantra exist, though the original version was:
Emotion, yet peace.
Ignorance, yet knowledge.
Passion, yet serenity.
Chaos, yet harmony.
Death, yet the Force.
The refined version established by Odan-Urr was perhaps the best known:
There is no emotion, there is peace.
There is no ignorance, there is knowledge.
There is no passion, there is serenity.
(There is no chaos, there is harmony.)(*)
There is no death, there is the Force.
—The Jedi Code (based on the meditations of Odan-Urr)
(*)The fourth line "There is no chaos, there is harmony," is removed in some Jedi texts. At the Funeral of Mara Jade Skywalker, for instance, this line was omitted.
The Jedi Code was rewritten by Grand Master Luke Skywalker upon reestablishing the Jedi Order in the Galaxy:
Jedi are the guardians of peace in the galaxy.
Jedi use their powers to defend and to protect.
Jedi respect all life, in any form.
Jedi serve others rather than ruling over them, for the good of the galaxy.
Jedi seek to improve themselves through knowledge and training."