15 Lines of python later and this program was made! As the title suggests you simply input the x and z coords for yourself and your target location. Then you simply match your
y-rot in game with the angle the program provides. Additionally, the program also states your distance in blocks from your target location. Enjoy!
I tested this with Java Edition on PC
Just a suggestion, maybe add some validation, so that if they enter just one coord, or maybe a letter by accident, it doesn't come up with an error.