βοΈ Generated Files#
When building modules with Beet, several files are automatically generated to simplify development and improve consistency. This page outlines what happens behind the scenes.
π¦ Module Management#
Modules are bundled with their dependencies:
If Module
Adepends on ModuleB, both are included in the build process.
A special loader module, bs.load, along with load (LanternLoad), is created to:
Resolve version conflicts and manage dependencies between modules.
Ensure load functions are called in the correct order, maintaining reliable datapack behaviors.
During the build process, the pack.mcmeta file is automatically updated to ensure compatibility:
pack_formatis set to the latest supported Minecraft version.supported_formatsspecifies a compatible version range.
ποΈ Resource-Based Plugins#
Beyond module management, Bookshelf automatically generates data across multiple resource types.
π§© Module-Specific Plugins#
In addition to these shared plugins, each module can include its own plugins that hook into the build pipeline. Some modules may have plugins that are responsible for generating data specific to themselves, providing even greater flexibility during the build process.