Personal Book Reader - Portable Book Reader for Minecraft

What is this mod?
Ever dreamed of listening to books in Minecraft as audiobooks? This mod introduces a portable reading device and a special block that narrates the content of written books right in the game!
Main Features
Personal Book Reader
A portable device crafted from 8 wooden slabs of any type and a spyglass. It functions similarly to a bundle - you can insert and remove written books. Simply use the reader from your hotbar to start the narration, or click while sneaking to stop. Interestingly, the narration continues even when moving the device through your inventory!
Narrator Block
Requires 8 wooden planks of any type and a spyglass to craft. This block operates similarly to a jukebox - accepts books and broadcasts the reading to all nearby players. Imagine a library where books read themselves!
Sound Features
- Volume level is controlled through the "Voice/Speech" section in Minecraft's sound settings
- Multiple readers can operate simultaneously in one player's inventory
- The broadcast range of the narrator block is customizable to your needs
- Ability to fine-tune reading duration
Technical Details
- Smooth compatibility with Redstone and hoppers
- Redstone output signal strength - 15 during narration, 0 otherwise
- Comparator shows the number of pages in the book (maximum 15)
- Appearance and tooltips update when a book is inserted
- Settings available through Mod Menu if installed
Important Information
Client Features: Opening the book interface pauses the game, but doesn't stop narration, which may disrupt the timing synchronization of the narrator block.
Phrase Processing: The narrator block divides the book's text into phrases. If a player leaves the broadcast area and returns later, they start listening from the beginning of the next phrase.
Sound Characteristics: Volume doesn't decrease with distance - sound simply cuts off when leaving the broadcast area. Volume changes take effect only during the next narrated phrase or device activation.
Configuration
The configuration file allows changing the narrator block's effective range and reading time parameters:
{
"narratorBlockNarrationRange": 64,
"narrationPhraseMaxCharacterLength": 200,
"narrationPhraseMinimumDurationMilliseconds": 1500,
"narrationPhraseSpaceDurationMilliseconds": 20,
"narrationPhrasePausePunctuationDurationMilliseconds": 800,
"narrationPhraseEndPunctuationDurationMilliseconds": 1000,
"narrationPhraseOtherCharacterDurationMilliseconds": 80,
"narrationPhraseNewLineDurationMilliseconds": 1000,
"internalNarrationPhraseNewLineString": "§"
}
Technical Support
Inspiration
Inspired by Audiobook mod from The-Fireplace.