Excuse my late response, I was away over the weekend.
The algorithm behind is not a problem for me. I need an interface to control the player from the Client side ( something like increasePosition(x,z); jump(), increaseRotation(value), lookAt(x,y,z), doLeftClick() doRightClick() etc. ). And some kind of "Information-Container" a List where all Blocks/Entities are stored from the loaded Chunks around the player. And the knowlege how to correct open a Chest and interact with the Items witch it contains.
I do prefer this attempt, not because it is the "cleanest" way to integrate, I simply like the Idea of the "human" like navigation from a Bot and the Bot don't increase the server consuming resources it only blocks one Slot. To be honest, I know it is a dirty solution, but the idea from the Human like navigation etc. is so a great idea in my mind, that I have to implement this, even it doesn't come in action. I hope you can understand my motivation - childlike fascination.