Hello ive looked into packets, open inventory windows and i cant figure it out. Did someone made this ? A way to open a book inventory window if i have the itemstack instance ? Would apreciatea any help,thanks alot for yor attention !
I've dug around, and I think it's client side, but I'm not sure. I would love to have this, though. @ThatBox You still owe me $21!
No sorry, the opening of a book window is done by the player (the client), only after edit of a book, the informations will be sent to the server.
Actually, maybe it could be done. I believe when the client right clicks with a written book, it will request the server with a packet containing the text of the book. We could find that packet and send it to the client!
No, I don't think so. The client receives the book contents at the same time as the rest of the inventory data. Meaning if you're holding a book, the client already has the contents before you right click.