
[Suggestion] Information book item
Boy132 opened this issue ยท 3 comments
When you rightclick with a normal book on a villager, frame etc. you get the information book for that village. Now you can always use this information book to view the village information without always clicking on a villager, frame etc.
@Boy132 I do not understand your suggestion.
Can you please explain?
When you righclick with a normal book on a village block (villager, item frame etc) this book turns into a new item (village information book) instead of just showing the information gui. With this new book you can always rightclick anywhere and it shows the village information.
@Boy132 while I love your idea, there is a problem with it and the main reason why I did not do this.
The village is only loaded when you are inside the village area. If you go outside the area of the village, the village is unloaded from memory.
One major issue is that not ALL the village information is sent from the server side to the client side, only the server side holds ALL the village information.
When you right-click a book, the server side picks this up (not the client side) and creates a message on the server side to send to the client side with ALL the village information used by the book. That is why you MUST click on something village related, so that I know which village you want to view is loaded in memory.
The message is received by the client side and displayed in the book.
If I was just to link a book to one village, when you go outside your village it would not work. This would cause confusion with players - why it does not work!
With the way it currently works, you are able to use a vanilla book on ANY village to view it's information. I use this a bit when I go exploring and find new villages. The book allows me to see if new village information.
I hope this explains why I did not create a book item in game.