When any mine or mining claim is so situated, that for the more convenient enjoyment of the same a road, railroad or tramway therefrom, or ditch or canal to convey water thereto, or a ditch, flume, cut or tunnel to drain or convey the waters or tailings therefrom, or a tunnel or shaft, may be necessary for the better working thereof, which road, railroad, tramway, ditch, canal, flume, cut, shaft or tunnel, may require the use or occupancy of lands or mining grounds, owned, occupied or possessed by others than the person or persons or body corporate, requiring an easement for any of the purposes described, the owner, claimant or occupant of the mine or mining claim first above mentioned, is entitled to a right of way, entry and possession for all the uses and privileges for such road, railroad, tramway, ditch, canal, flume, cut, shaft or tunnel, in, upon, through and across such other lands or mining claims, upon compliance with the provisions of this chapter.
Idaho Code § 47-902