Why do minecraft books work like this...
when typing wide text it allows you to cover the whole page but if you use a few too many thin texts then it just doesn't even cover half the page. Not to mention google doc pasted apostrophes make the text skinny and it makes clicking on the text to type in the middle of a sentence wonky
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
And they'll still have issues with things like zero-width characters. If there wasn't a character limit, you could join a server, and just keep pasting characters in until the server crashes.
There's always a tradeoff sadly.
When you type a character into something, the data that is added is just instructions on how to render it. The visual appearance comes from the font. But most zero width characters aren't meant to be rendered as a character, so devices won't typically support it. They're intended as modifiers, typically for accents and diacritics like "à", or for emoji. They tell the device OS that it needs to do something special.
A decent example is the "skintone modifier." You might have seen emoji that have a range of skin colors. On supported keyboard apps, they can let you choose the skintone of the emoji you're sending. In the background, they work because the keyboard app sends 3 different characters to the device. The emoji itself, a "joiner", and what's called a "skintone modifier".
The joiner and the modifier aren't supposed to be rendered, they're just there to tell your device what image to draw in the space before. "Swap this character for a different version of it."
If they rendered it with full width, you'd have an emoji with two blank spaces before or after it every time. It's like asking a chef for extra salt with your meal, and they just give you a second plate with salt on it.
The flag emoji is the same. It's a generic "flag" emoji, with a "country modifier" which tells your phone or computer **which** flag to draw. Another zero width character tells your device to draw text from right to left, which is important for other languages. Another is the "newline" which tells the device to skip to the line below when you press enter. Most of these aren't rendered in the usual way, but they still get counted as characters.
MC books could just block all zero width characters, but that'd break heaps of other things, including support for every language that doesn't use the same alphabet as English. They could block them, and just render them as full width characters. But then they've got to figure out a different way to tell the OS the user wants to type on the next line.
What they've done instead isn't great, but the alternative isn't worth the bugs.
The game already needs to do that for text that is centered in bossbar and such, and there is no lag involved there
Also, boss healthbars absolutely do cause lag. Literally everything that requires even the slightest amount of processing power creates lag, you just don't notice it.
Edit:
That's not to mention that it it takes even more operations to convert the syntax of the functions into binary used the established library so that the machine can actually understand it. Machines don't actually understand programming languages, every function is just an arangement of binary functions set up in a specific order to do many operations and functions with a single function.
Someone suggested it could be that they have taken a constant character limit, that number being the number of the largest character that could fit on a page at once.
I said that theory was more likely than the previous speculation which was that there was both a space limit and a character limit, which would have to be dynamically converted into a character limit as you type.
As you can see, both theories would lead to the same (current) result of a big character taking up a whole page (reaching the "space" limit) and a small character taking up only a fraction of the page (character limit). But one of these theories takes less calculation than the other. Therefore it is better.
this does raise questions about how different font sizes would be handled, though, so i understand the technical decision to limit it by character.
Increasing text size the way you describe make two people with different GUI sizes have a different page count for the same book.
Now consider a lectern providing a redstone signal. Which strength to chose then?
The text on each page does not wrap to the next page, so the book would have the same page count for everyone.
Lectern redstone signal output with a comparator is based on the page the book is turned to. If the book has only one page, it will output maximum signal strength. If the book has more than one page, it will use the formula on the #Redstone\_signal section of the Lectern page on the Minecraft Wiki. Without a comparator, it will always output maximum signal strength.
> In Java Edition, the player can write a single book up to 100 pages, with up to 1023 characters per page, and up to 102,300 characters inside the entire book.
> No page may be longer than 14 lines, and each line can have a width of 114 pixels.
> In Bedrock Edition, the player can write a single book up to 50 pages long, with up to 256 characters per page, and up to 12,800 characters inside the entire book.
> No page may be longer than 14 lines and may have a width of up to 121 pixels each. Formatting codes apply to the character limit but do not apply to the pixel limit.
I do definitely think some of it is, of course, console VS PC issues, but even fun features like potion cauldrons and snow-logged plants being Bedrock exclusives, or other nonsense like this where Java just seems to have an exclusive quality assurance team, genuinely baffles me. I love Mojang and think they love their game even more, but I have no idea how infuriating parity unequalities continue to fester like this. Parity Update when /hj
I run Java (Paper) server with GeyserMC plugin to allow crossplay with my console ~~peasants~~ friends, so parity differences aren't unfamiliar to me.
>Have a Christmas present look during December 24th - 26th (including double chests).
That's kinda sad bedrock doesn't have the presents, but it also reminds me that I wish they'd add Christmas textures for trapped chests, barrels, ender chests, and copper chests for some extra variety.
It’s insanely stupid shit like this that makes Minecraft’s purity issues so asininely idiotic.
On the other hand, the limit might just be arbitrary, and 256 was chosen because that feels like a nice round number to a programmer.
I actually super wish there was information on stuff like this alongside parity inconsistency lists. It'd do good in explaining why there's so many, and be really interesting as well.
Like many things in Minecraft, this is a common value in base 2 binary computing. Specifically, 2^8.
EDIT: I meant that they might have wanted to limit the total size of books without reducing page count to save memory. Not anything fundamental.
It's honestly really hard to know if it's a machine limitation, a design choice that matches computer aesthetics of the time, or some combination of the two. I don't know enough about Minecraft specifically to know for sure. Given the difference between versions, I'm inclined to believe it relates specifically to memory limitations on weaker systems, so it maybe wasn't safe to use a larger number, but that's just a guess.
Probably its a good thing that you can't reliably make ascii art drawings in Minecraft books, given what people are like.
Each page has a character limit which is based on the number of characters. In your example there is a large contrast but for most practical uses it won't be that bad.
Mojang could improve this by increasing the character limit and putting an additional soft limit based on the amount of space used
there comes a point where it tries to force you to stop writing but if you just keep clicking and writing the next couple letters it keeps working lmaooo so it’s tedious but it works