Biomes such as Mesa, Desert and Hell (aka Nether) will raise your temperature, you can cool it off by simply putting a water bottle and a snowball in a crafting table. That will make freezing water, but you must drink it quickly or it will revert back to a water bottle.