2

Custom booksandroid

HuoKnight 5/13/21 7:42 pm
110
5/14/2021 1:55 pm
I know that you can make custom books using commands to have click events to run commands and hover tooltips, but I was wondering if its possible to display unicode characters in a book, to make a sort of overlay. I haven't been able to figure out how to make it display the texture assigned to it and not the text in the unicode.
Posted by
HuoKnight
Level 12 : Journeyman Mlem Mlem Bat
68

  Have something to say?

JoinSign in

2

SUPERIONtheKnight
05/14/2021 1:29 am
Level 30 : Artisan System
I'm not quite sure what you mean regarding an overlay, but yes it's possible to display unicode in a written book. Simply prefix whatever unicode character you want to put in the book with \\u. Note that the \\n is simply the start of a new line.
/give @s minecraft:written_book{title:"Unicode",author:"SUPERI0N",pages:['{"text":"My unicode character is on the next line.\\n\\u00D0"}']}
Can see valid unicode characters to use here: https://unicode-table.com/en/
Can also see that in minecraft, you are limited to only use unicodes from 0000 to FFFF: https://minecraft.fandom.com/wiki/Language#Font
Hope this helps! :)
3
HuoKnight
05/14/2021 1:55 pm
Level 12 : Journeyman Mlem Mlem Bat
Oh see, I tried doing that, and it said that it was invalid, also I didn't know you could use escape codes in books thats good to know.
2

Welcome