- A book may have no more than 50 pages.
- A single page of a book may have no more than 256 characters.
- A single page of a book may have no more than 13 lines of text.
- The title of a book can be no more than 16 characters.
- The author of a book is the username of its creator, or "Player" if you're in offline mode. It cannot be changed.
- You can paste text into books with Ctrl+V, unless there isn't enough room on the page for it.
- A book can contain special characters, such as the section sign (§). These characters must either be on your keyboard, or pasted in. Alt-codes do not work.
- Section sign formatting codes (e.g. "§f") work in books, allowing you to have colored or formatted text.
- You can use special characters in the title of a book, if they exist on your keyboard. You cannot paste text/characters or use alt-codes when writing a title.
- You can only edit the text on a page starting at the last character. This means, if you notice a typo at the top of the page, you must first backspace the whole page to fix it.
- Pages cannot be removed or rearranged.
- You cannot edit a book once it has been signed, and cannot give a name to an unsigned book. Unsigned books all show up as "Book and Quill" in the inventory, when you hover over them.
- As of recent snapshots, you cannot begin a line with spaces/indentations, and cannot begin a new line without having text on the current line. This makes it difficult to separate paragraphs.
I have spoiler'd most of this thread, so as to not look intimidatingly long. You only have to read as much as you want to, and learn only the things you want to know, so I figure spoiler-ing the stuff would be for the best.
Indentation, Alignment, and Blank Lines
Since one of the snapshots (I forget which), you cannot indent or center text, or have blank lines, because the game ignores spaces and 'Enter's that you type on a line that otherwise has no text. This section offers a simple work-around, as a book can look ugly if there's no separation between paragraphs, and titles look nicer when centered.
How to actually hack books
Of course, none of that was "hacking" - it can all be done ingame, without editing your client. To hack books, you'd need a 3rd party tool, such as copyboy's NBTedit.
Now, why would you hack a book? To get past its limitations without the need for mods
All of the tricks I am posting here can be used for Adventure maps intended for vanilla Minecraft, so your players won't need any mods.
Hopefully you guys will find these tricks useful for your adventure maps - you can now make your books convincing by changing the author, make them seem special with colors even in the item's name, and perhaps even make them seem ominous with a title that continuously flashes random letters. You can also use these tricks to get past the game's limit of 50 pages per book, 256 characters per page, 16 characters per title, etc., and can correct mistakes you have made (rearranging pages, editing them in a text editor, un-signing them, etc.)
Note that, with modifying your game files using an external program, you run the risk of damaging your file. Proceed with caution; I take no responsibility for mistakes you make or damage you cause. I just want you all to know these cool things you can do; that does not mean you can hold me or copyboy (NBTedit's creator) responsible if things don't work out as planned.
Have a nice day, and happy editing!
Edited by WolfieMario, 07 June 2012 - 06:05 PM.