Skip to content
/ StewBeet Public template

StewBeet is a Framework built on top of Beet aiming to provide huge automation for creating datapacks. It is designed to be very simple to use and very convenient for developers.

Notifications You must be signed in to change notification settings

Stoupy51/StewBeet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube GitHub PMC Discord PyPI - Downloads

❓ What is StewBeet

StewBeet is a Beet framework and library 📦 aiming to provide huge automation for creating Minecraft datapacks.
It is designed to be very simple to use and very convenient for developers.

Example of the in-game manual generated by StewBeet:
In-game Manual Example

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.
  • 📝 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 and Furnace NBT Recipes
    • 🛠️ Placement and destruction for every custom block in the definitions with support for blockstates, ore drops (fortune, silk touch), with Smithed Custom Blocks.
    • 📚 Each module from 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.
    • 📦 Item transportation / container declaration with ItemIO when making custom containers.
    • 🔔 Events such as new items detection with Common Signals.
  • 🌐 External datapack libraries support, see configuration for more information.
  • 🔗 Merging datapacks and resource packs with libraries using Smithed Weld.
  • 🧩 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, CustomModelData prefix, tag specification, and 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, SimplEnergy's pulverizer.
  • 📂 Automatic copy of generated zip files to configured folders.

📦 How to use (beginner friendly)

In order to use StewBeet, you need to have at least Python 3.12 🐍 or higher installed on your computer with pip!
Then, you can open a terminal 💻 and run the following command to install the python package:

# This will install the latest version of the framework
# (including beet, bolt, mecha, and other dependencies)
pip install stewbeet

Next, there are a few templates available in the ./templates folder 📁,
There are 3 templates available, feel free to choose the one you prefer (but I highly recommend the basic template):

  • 🔹 minimal template: A very minimal template using only one stewbeet plugin.
  • basic template: A template with complete configuration but no coded features.
  • 🌟 extensive template: A template with all the features of the framework, including all the plugins.

The clickable links are zip files 📦, but you can check the content of the templates in the ./templates folder.

Once you have a template, you can modify the beet.yml configuration file ⚙️ to suit your needs.
Finally, you can run the following command to build the project 🔨:

# You can also run 'beet' instead of 'stewbeet' but with less functionality
# (Make sure you are in the project folder)
stewbeet

The command will generate a datapack and a resource pack in your build folder 🏗️.
And that's it! 🎉 That is this easy use the package.
Since this template is using all the features of the package, you can remove the parts you don't need! 🧹

🌱 How to use (Beet users)

If you are already familiar with the Beet development kit, StewBeet is developped as a bunch of plugins for it.
Install StewBeet with pip install stewbeet and check the StewBeet plugins documentation to learn about them.

📚 Documentation

There are a lot of features in the package, you could check the extensive template to see how to use them.
Alternatively, you could join the Discord server to ask questions and get help from the community!
Or, you could check the highly detailed documentation folder
Here a list of all the currently available guides:

🤝 Contribute

Want to help improve StewBeet? 🔍
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 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.
Here is a list of projects that use it:

⭐ Star History

Star History Chart

About

StewBeet is a Framework built on top of Beet aiming to provide huge automation for creating datapacks. It is designed to be very simple to use and very convenient for developers.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •