Posted 28 March 2013 - 10:46 AM
When a computer, turtle, or another variant is placed in the world, a timestamp is saved to that block/tile entity. The timestamp can then be read with a built-in function by programs.
I'm currently working on my own turtle API which includes persistent data storage. It saves it's current coordinates if available, last slot, and various other details. I want my API to check the last time it was placed in the world to detect tampering and reduce the possibility of relaying incorrect information to my programs and surrounding systems.
I'm currently working on my own turtle API which includes persistent data storage. It saves it's current coordinates if available, last slot, and various other details. I want my API to check the last time it was placed in the world to detect tampering and reduce the possibility of relaying incorrect information to my programs and surrounding systems.