Community listing page, reviews here may not be monitored by the author.
Book Binder
No reviews yet
A small, outdated data pack for generating random books. Mainly meant to be incorporated into other data packs.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers