Being out in the sun makes you hot. If you get too hot you will get 2 warning messages tell you to seek shelter if you refuse to take shelter you will become fatigued and recieve slowness. You can cool down by seeking shelter under blocks or going inside caves.