The controversial Rocky Hill coalmine in the Hunter Valley will not go ahead after a landmark ruling in the land and environment court on Friday that cited the impact it would have had on climate change.