So, this question "Get coordinates at specific point in time - java edition", asks about how to get the world co-ords of a last known location. The question is fine, and an answer has been provided, which is also fine.
However, the OP came back to answer the question:
just went to the folder for my mod, then to the logs folder, and found the log for the console. The console actually says where I spawned, and it was inside my house.
So I went to
My Mod 1/run/logs
and found the appropriate one.
This suggests that the OP had a pre-installed mod that had captured this information?
I'm not sure how this situation affects the answer. Sure, for this specific situation, it answers the question, but without that specific mod (or a similar one), the only applicable answer is brododragon's answer.
So, to clarify, my question is how should the answer, that was provided by the OP be handled? It does answer the question, and (if they do provide the specific information for the mod), it's not exactly a bad answer, it just seems way too specific.