Skip to main content

StewBeet

YouTube GitHub Documentation Lint Powered by StewBeet PMC Discord PyPI - Downloads

Tests 3.14 Tests 3.14t Tests 3.15 Tests 3.15t Tests 3.16 Tests 3.16t

Minecraft datapacks, generated from Python. Declare an item or a block once, and every build writes its model, loot table, recipes, translations and in-game manual page.

StewBeet is a set of plugins for beet, the build tool of the mcbeet team. Every beet plugin, and bolt and mecha, keep working in a StewBeet project.

beet runs the build, and bolt and mecha plug into it, all three made by the beet team. StewBeet is a separate project that runs inside beet as plugins.

One definition, 8 files

This is the Life Crystal Block of Stardust Fragment:

Block(
    id="life_crystal_block",
    vanilla_block=VanillaBlock(id="minecraft:glass"),
    recipes=[CraftingShapelessRecipe(
        ingredients=8 * [Ingr("minecraft:glass")] + [Ingr("life_crystal")],
    )],
)

By hand, the same block is eight files in two packs: the place and destroy functions, its loot table, its vanilla recipe, its Smithed Crafter recipe, its item definition, its model and its translation key. StewBeet writes all eight from the definition on every build, so they never drift apart.

Start a project

StewBeet needs only uv, which installs the Python version the template asks for.

uvx stewbeet init
uv run stewbeet build

The quickstart takes you from nothing to a loaded datapack, and the tutorial builds a whole pack step by step. Already have a datapack? Migrate it.

An in-game manual of every item

The build turns your definitions into a book players open in game: every item, its recipes, and what it is used for, with the items drawn from their real models.

The in-game manual of Stardust Fragment, browsed page by page

What the build does for you

  • Items and blocks: placement and destruction of custom blocks through Smithed Custom Block, block ticking, a loot table per item, paintings, an in-game manual of every item and recipe.
  • Recipes: vanilla crafting, smelting, stonecutting and smithing, Smithed Crafter recipes for items with components, furnace recipes through Furnace NBT Recipes.
  • Resource pack: models and item definitions found from the names of your textures, sounds and music discs, checks on texture sizes and on unused textures.
  • Text: plain text in your commands becomes translation keys collected in en_us.json, and a render key draws any item inside text.
  • Functions: Lantern Load loading with version checks, tick, second and minute clocks, scoreboard constants, an unload function, a header on every function.
  • Libraries: Bookshelf modules, Smithed libraries, Common Signals, Smart Ore Generation and the others are detected from your functions, downloaded for your Minecraft version and checked in game.
  • Output: reproducible zips, a merge with your libraries through Smithed Weld, a copy to your world after every build.

Everything you don't need to think about lists it all, and each plugin has its page.

Editor support

The StewBeet extension for VS Code highlights and checks the commands inside your Python and your .bolt files, and links each built command back to the line that wrote it. See VS Code editor.

Built with StewBeet

Datapacks, games and libraries with public source, from Stardust Fragment to Headconomics: the Showcase lists them all, and each card opens its source. Built something with StewBeet? Open an issue with its link.

Contribute

  • Report a bug or suggest a feature in the issues, or ask on Discord.
  • Pull requests are welcome. git clone --filter=blob:none https://github.com/Stoupy51/StewBeet downloads past files only when you need them.
  • The documentation lives in docs/web/public/docs/, one Markdown file per page and language.

Metadata

Release files for stewbeet 3.19.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stewbeet 3.19.0
File Size Uploaded Provenance Actions
stewbeet-3.19.0.tar.gz 836.2 kB Without provenance Details for stewbeet-3.19.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stewbeet 3.19.0
File Interpreter ABI Platform Actions
stewbeet-3.19.0-py3-none-any.whl Python 3 none any Details for stewbeet-3.19.0-py3-none-any.whl

Total release size: 1.8 MB

Release files / stewbeet-3.19.0.tar.gz

Download URL stewbeet-3.19.0.tar.gz
Size 836.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a9edb0d7eb72ff23a172b69da070ce059d1d51ddf1efc26e124a27fd7cbace42
BLAKE2b-256 checksum
How to use checksums
a6dc145ae462e4679b217d6cde19e750ec12898d3b11e542039871d077b04cc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / stewbeet-3.19.0-py3-none-any.whl

Download URL stewbeet-3.19.0-py3-none-any.whl
Size 971.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ddb80e69e99769f9f713778813bcfff4219ab2a5eeb42e637ed79627945149c
BLAKE2b-256 checksum
How to use checksums
76e4962dcf255b99a9c31ee6522222beb848d9a852a7a711814857d9de711fe8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for stewbeet 3.19.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.19.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page