Bolt datapack flow control library.
Project description
Crankshaft
Flow control library for the Bolt scripting language.
from crankshaft:api import event
@event
def load():
tellraw @a "Hello, World!"
@event
def player_join():
tellraw @s {"text": "A diamond for you!", "color": "aqua"}
give @s diamond
Documentation
Available over at Crankshaft Documentation
Contributing
Contributions are welcome. Make sure to first open an issue discussing a problem or a new feature before creating a pull request. This project uses poetry.
poetry install
You can run the tests with poetry run pytest -v
.
poetry run pytest -v
License - MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
crankshaft-1.0.0.tar.gz
(9.8 kB
view hashes)
Built Distribution
crankshaft-1.0.0-py3-none-any.whl
(13.0 kB
view hashes)
Close
Hashes for crankshaft-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41749544b4087d6374eb5b632fc2276733c4aa47d79a0233d62eb658c1586d72 |
|
MD5 | 3b658c6d82d7081b6f5978978f56249e |
|
BLAKE2b-256 | 262399c6cfb5a1f01c9ca16b19b26a6d6772e215b31e35a97456fc75f697dac2 |