Click here for Wookieepedia's article on the Canon version of this subject.  This article covers the Legends version of this subject. 

OnALegendsArticleGoToCanon

Nishalorite stones were lightsaber crystals found on worlds with strong magnetic fields. They were discovered by a wandering Jedi Seeker. The stones they produced a lightsaber blade that detected and reacted to such magnetic fields, such as intensifying in the direction of magnetic north.[1]

Sources

Notes and references