⚙️ 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 A depends on Module B, 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_format is set to the latest supported Minecraft version.

  • supported_formats specifies 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.