Book Binder
A small, outdated data pack for generating random books. Mainly meant to be incorporated into other data packs.
介绍
Pretty much what the summary says: “A small, outdated data pack for generating random books. Mainly meant to be incorporated into other data packs.”
Functions
book_binder:book/upload {no arguments}: Attempts to upload the pages of the currently held book to storage. Fails if the executer isn’t a player with a book and quill or written book in their main-hand. Overwrites any previous data if successful.
book_binder:book/add_pages {no arguments}: Attempts to append the pages of the currently held book to the pages within storage. Fails if the executer isn’t a player with a book and quill or written book in their main-hand.
book_binder:book/add_page {page:<string>}: Appends the data of argument “page” to the pages within storage. Data of argument “page” is treated as a string enclosed in double quotes, even if it wasn’t originally. In most cases, I’d suggest using book_binder:book/add_pages instead.
book_binder:book/clear {no arguments}: Removes all pages within storage. Simple as that.
book_binder:book/remove_page {page:<integer>}: Attempts to remove the page at index “page” within storage. Fails if the targeted page doesn’t exist.
book_binder:book/output {no arguments}: Attempts to create a writen book item entity containing a copy of the pages within storage. Note: said item entity despawns in 2 game ticks, to prevent clutter. Fails if there aren’t any pages within storage.
book_binder:book/generate {pages:<integer>}: Attempts to create a writen book item entity containing “pages” number of random pages from storage. Note: said item entity despawns in 2 game ticks, to prevent clutter. Each page within storage can occur only once in the generated book, and are randomly arranged in said book. Attempting to generate a book with more pages then what’s been stored will result in a book with as many pages as what’s in storage. Attempting to use integers less than or equal to one for the argument “pages” results in a book with only one page. Fails if there aren’t any pages within storage.
book_binder:construct/add {page:<integer>}: Attempts to append the page at index “page” within storage to a second set of pages within storage. Changes made to one set of pages isn’t reflected in the other set. Fails if the targeted page doesn’t exist.
book_binder:construct/remove {page:<integer>}: Attempts to remove the page at index “page” from the second set of pages within storage. Fails if the targeted page doesn’t exist.
book_binder:construct/output {no arguments}: Attempts to create a writen book item entity containing a copy of the second set of pages within storage. Note: said item entity despawns in 2 game ticks, to prevent clutter. Fails if there aren’t any pages in the second set of pages within storage.
book_binder:construct/clear {no arguments}: Removes all pages from the second set of pages within storage.
I’ll probably make a simple video to demonstrate these functions.
常见问题
Book Binder 支持哪些 Minecraft 版本?
Book Binder 支持 Minecraft Java 版 1.20.2–1.20.4,共 3 个版本。下载时注意选择和你游戏版本一致的文件。
Book Binder 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
JMPotionwiz 的其他作品
查看全部 →
Armorer’s Bane
A small mod that penalizes constantly wearing armor (and holding shields).
String Pickaxe (Alternate Brush)
Remember when brushes where crafted like pickaxes?
Voxelation
Oversimplifies Minecraft's block textures, just like you wanted!
评论
登录后评论和评分