Difference between revisions of "Player.dat format/Writable Books"

From Minecraft Wiki
Jump to: navigation, search
(Split page from Player.dat_format/Written_Books)
 
m (Split confusing sentence into smaller sentences.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<div class="treeview"><onlyinclude>
 
<div class="treeview"><onlyinclude>
 
** {{nbt|list|pages}}: The list of pages in the book.
 
** {{nbt|list|pages}}: The list of pages in the book.
*** {{nbt|string}}: A single page in the book. Each page is a string and uses the escape sequence <code>\n</code> for a line break, however the [[Brigadier|command parser]] does not accept <code>\n</code>, because of which line breaks need to be set by a [[player]] or using [[loot table]]s.
+
*** {{nbt|string}}: A single page in the book. Each page is a string and uses the escape sequence <code>\n</code> for a line break. However, the [[Brigadier|command parser]] does not accept <code>\n</code>, because of which line breaks need to be set by a [[player]] or using [[loot table]]s.
 
</onlyinclude></div><noinclude>
 
</onlyinclude></div><noinclude>
 
[[Category:Top-level data pages]]
 
[[Category:Top-level data pages]]
[[zh:Player.dat格式/成书]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 13:31, 26 April 2020

    •  pages: The list of pages in the book.
      • : A single page in the book. Each page is a string and uses the escape sequence \n for a line break. However, the command parser does not accept \n, because of which line breaks need to be set by a player or using loot tables.