📖 示例#
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.
🌟 精选示例#
🧵 生命链接
关联玩家的生命值,让玩家之间共享伤害和治疗效果。
🖌️ 画笔
根据玩家手中的物品来更改方块的材质。