stewbeet 3.0.3
Beet Framework made to help generating advanced Minecraft datapack contents
Requires Python: >=3.14


[![YouTube](https://img.shields.io/youtube/views/zkcQn23DRaw?style=flat&logo=youtube&logoColor=red&label=YouTube)](https://www.youtube.com/watch?v=zkcQn23DRaw)
[![GitHub](https://img.shields.io/github/v/release/Stoupy51/stewbeet?logo=github&label=GitHub)](https://github.com/Stoupy51/stewbeet/releases/latest)
[![PMC](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fwww.planetminecraft.com%2Fdata-pack%2Fpython-datapack%2Fstatsv2&query=%24.downloads&logo=data%3Aimage%2Fvnd.microsoft.icon%3Bbase64%2CAAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAABMLAAATCwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJdNAUBLJgD%2FSyYA%2FxkoD%2F8vKAn%2Fl00BgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA%2FwAAAP8AAAD%2FmVgI%2F0tcHf8CXjP%2FL10l%2FwAAAP8AAAD%2FAAAA%2FwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA%2F5VOAf%2BVTQH%2FfVkP%2FyZ%2BOv8BgET%2FAYBE%2FwGARP9LZyP%2FlU0B%2F5ZNAf8AAAD%2FAAAAAAAAAAAAAAAAAAAAAJVOAf%2FYeRL%2F64wl%2F7eZOP8Bo1f%2FAaNW%2FwGjVv88nkv%2F2oEb%2F9N0Df%2FTdA3%2FlU0B%2F5dNAUAAAAAAAAAAAAAAAACkVQH%2F3pAq%2F6CcOv92pUf%2FLLli%2F12zW%2F%2FBqEv%2Fy59B%2F%2B2OJ%2F%2Figxz%2F03QN%2F5VNAf%2BEUARAAAAAAAAAAAAAAAD%2FjoMq%2Fzi2XP96r1T%2F3ahG%2F%2BCvUP%2F9qkr%2F%2F6hL%2F%2F2kRP%2F2mTT%2F7Y4n%2F%2BCBGv93aRf%2FA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4GQGNfDP9sXwj%2FqFgB%2F4hbB%2F9DWiKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKpXAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA%2FB8AAOAHAADAAwAAwAMAAMADAACAAQAAgAEAAIABAACAAQAAgAEAAMADAADAAwAAwAMAAOAHAAD8H%2F%2F%2F%2F%2F%2F%2F%2Fw%3D%3D&label=PMC&color=6ec310)](https://www.planetminecraft.com/data-pack/python-datapack/)
[![Discord](https://img.shields.io/discord/1216400498488377467?label=Discord&logo=discord)](https://discord.gg/anxzu6rA9F)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/stewbeet?logo=python&label=PyPI%20downloads)](https://pypi.org/project/stewbeet/)


## ❓ What is `StewBeet`
`StewBeet` is a [Beet](https://github.com/mcbeet/beet) framework and library 📦 aiming to provide huge automation for creating Minecraft datapacks.<br>
It is designed to be very simple to use and very convenient for developers.

`Example of the in-game manual generated by StewBeet:`<br>
![In-game Manual Example](https://i.imgur.com/dtuAG99.gif)


Here is a list of features that the package provides (the template is using all of them with clear comments):

- 🔄 Automatic resource pack files generation (models, textures, sounds, music discs) with the ability to override them with help of the `assets` folder.
- ⏳ Versioned load, and clock functions such as `tick`, `second`, `minute`.
- 🗃️ Loot tables for every item in the `definitions` along with a proper `_give_all` function that gives named chests.
- 📖 Automatic generation of a really [advanced and interactive items `manual`](./assets/in_game_manual_example.png).
- 📝 Automatic generation of a `en-us.json` lang file in the resource pack if configuration is set.
- 🖼️ Automatic headers for every function in `function` folders.
- 📦 Minecraft like vanilla recipes unlocking.
- 📚 Official libraries integrations:
  - 🧪 Automatic support for NBT Recipes with [`Smithed Crafter`](https://wiki.smithed.dev/libraries/crafter/) and [`Furnace NBT Recipes`](https://github.com/Stoupy51/FurnaceNbtRecipes/)
  - 🛠️ Placement and destruction for every custom block in the `definitions` with support for blockstates, ore drops (fortune, silk touch), with [`Smithed Custom Blocks`](https://wiki.smithed.dev/libraries/custom-block/).
  - 📚 Each module from [`Bookshelf`](https://github.com/mcbookshelf/bookshelf) is automatically added if you are using it, ex: `function #bs.math:...` will add the `bs.math` module to the datapack.
  - ⛏️ Custom ore generation with [`Smart Ore Generation`](https://github.com/Stoupy51/SmartOreGeneration).
  - 📦 Item transportation / container declaration with [`ItemIO`](https://github.com/edayot/ItemIO) when making custom containers.
  - 🔔 Events such as new items detection with [`Common Signals`](https://github.com/Stoupy51/CommonSignals).
- 🌐 External datapack libraries support, see configuration for more information.
- 🔗 Merging datapacks and resource packs with libraries using [Smithed Weld](https://weld.smithed.dev/).
- 🧩 Automatic recognition of custom blocks patterns depending on the texture names in the `assets/textures` folder. For instance, if you have a top, side, and bottom texture, the block will be automatically recognized as a cube with the top, side, and bottom textures.
- 📏 Follow the datapack conventions such as [LanternLoad](https://github.com/LanternMC/load), [CustomModelData prefix](https://mcdatapack.vercel.app/), [tag specification](https://wiki.smithed.dev/conventions/tag-specification/), and [namespacing](https://wiki.smithed.dev/conventions/namespacing/).
- 🧰 Ability to merge a model with the autogenerated one or override it.
- 🔀 `merge` folder providing a way to merge custom files with the autogenerated ones or add custom files to the datapack.
- ⚙️ Automatic special compatibilities with datapacks such as [`SimpleDrawer's compacted drawer`](https://edayot.github.io/SimpleDrawer/material.html), [`SimplEnergy's pulverizer`](./build/datapack/data/your_namespace/function/calls/simplenergy/pulverizer_recipes.mcfunction).
- 📂 Automatic copy of generated zip files to configured folders.


## 📦 Getting Started & Documentation

For complete installation instructions, tutorials, and comprehensive documentation, visit the official website:

### 🌐 **[stewbeet.paralya.fr](https://stewbeet.paralya.fr)**

Quick links:
- 🚀 [Getting Started Guide](https://stewbeet.paralya.fr/documentation)
- 📖 [Full Documentation](https://stewbeet.paralya.fr/documentation)
- 💬 [Discord Community](https://discord.gg/anxzu6rA9F)


## 🤝 Contribute
Want to help improve StewBeet? 🔍<br>
Here's how you can contribute:
- 🐛 **Report Bugs**: Found a bug? Open an issue on GitHub describing what happened and how to reproduce it.
- ✨ **Suggest Features**: Have an idea for a new feature? Share it in the issues section!
- 🔧 **Submit Pull Requests**: Feel free to fix bugs or add new features by submitting pull requests.
- 📚 **Improve Documentation**: Help make our docs better by fixing errors or adding examples.
- 💬 **Help Others**: Join our [Discord server](https://discord.gg/anxzu6rA9F) and help other users with their questions.

Every contribution matters, no matter how small! 🙌


## 📜 What projects use StewBeet?
To search for projects that use the framework, I search like [this.](https://github.com/search?q=%22-+%5C%22stewbeet.plugins.%22+-path%3A%22docs%22+-path%3A%22templates%22&type=code)<br>
Here is a list of projects that use it:<br>
- Actual projects:
  - Your next project here!
  - https://github.com/e-psi-lon/Armored-Elytra (Python Datapack: before Stewbeet was a thing)
  - https://github.com/Stoupy51/SimplEnergy
  - https://github.com/Stoupy51/ImagineYourCraftDatapack
  - https://github.com/Stoupy51/LifeSteal
  - https://github.com/Stoupy51/Survisland
  - https://github.com/Stoupy51/SmithedSummit
  - https://github.com/Stoupy51/SheepWars
  - https://github.com/Stoupy51/MoreApples
  - https://github.com/Stoupy51/CauldronConcretePowder

- Libraries or tools:
  - https://github.com/Stoupy51/SmartOreGeneration
  - https://github.com/Stoupy51/CommonSignals


## ⭐ Star History

<html>
  <a href="https://star-history.com/#Stoupy51/StewBeet&Date">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Stoupy51/StewBeet&type=Date&theme=dark" />
      <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Stoupy51/StewBeet&type=Date" />
      <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Stoupy51/StewBeet&type=Date" />
    </picture>
  </a>
</html>