http://breezewiki.catsarchywsyuss6jdxlypsw5dc7owd5u5tr6bujxb7o6xw2hipqehyd.onion/minecraft/wiki/Lodestone
If the lodestone is destroyed while a paired compass is in a chest , shulker box , item frame , armor stand , or any other storage item , the compass does not register that the lodestone is destroyed until the item is retrieved.