Tool for creating cool Minecraft datapacks
Project description
Chanty
Tool for creating cool datapacks for Minecraft
chanty is a Python DSL for writing Minecraft datapacks as if they were real code.
No more messy .mcfunction files - just cliean, structured logic.
Usage
from chanty import Datapack, Namespace, CommandBuilder
pack = DataPack('my_awesome_datapack')
namespace = Namespace('main')
@namespace.on_load
def handle_on_load() -> str:
with CommandBuilder() as cmd:
cmd.tellraw('Hello world from chanty datapack!')
return cmd.build()
# Export into folder
pack.export('./my_datapack')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chanty-0.1.0.tar.gz
(10.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
chanty-0.1.0-py3-none-any.whl
(14.5 kB
view details)
File details
Details for the file chanty-0.1.0.tar.gz.
File metadata
- Download URL: chanty-0.1.0.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39eb404fec75a904d48dff30a19c59d5806d508dae4626cd5be43bbc8ef947df
|
|
| MD5 |
4f986ba5c9807f1a3b7007cd11e54ad6
|
|
| BLAKE2b-256 |
5347cab794feaf08f75493f304fa225910d2b71e22c2f319dba48ca109c6454d
|
File details
Details for the file chanty-0.1.0-py3-none-any.whl.
File metadata
- Download URL: chanty-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01debc3373109d78bd4c69b3de71b830d6ad34024778a52396a3e4834a1ae9af
|
|
| MD5 |
6e3a877e2f5a8fcab5053a8e0fb16874
|
|
| BLAKE2b-256 |
2fa4e35967b93da61f421171114748df4fa2bce27b4eae44e01a6236a4bff855
|