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.
2
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.
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! :)
/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! :)
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.
