📖 Examples#
In this section, you’ll find practical examples showcasing how to use Bookshelf. Each example is designed as a mini-tutorial, demonstrating specific features and their real-world applications. The code provided can be easily converted into fully functional Minecraft datapacks thanks to Lectern, ensuring that everything in the documentation is directly applicable in-game.
🌟 Featured Examples#
🧵 Lifestring
Link players’ health so that damage and healing are shared between them.
🖌️ Paintbrush
Change a block’s material to match the item in the player’s hand.