lightning-rod
Function library for the Bolt scripting language.
Introduction
Minecraft version: 1.20.1
This library features an API for the minecraft commands, usually improved by adding dynamic support or even adding new abstract functions.
from lightning_rod:api import Bossbar, set_level, random
# example of OOP bossbars ^^
bb = Bossbar()
bb.name = 'gas prices'
bb.color = 'red'
bb.show()
# example of dynamic level setting at runtime ^^
set_level(random(5, 20))
Installation
pip install lightning_rod
Getting started
The library is designed to be used within any bolt script (either a .mcfunction or bolt file) inside a bolt enabled project.
require:
- bolt
- lightning_rod
pipeline:
- mecha
Once you've required bolt and lightning_rod, you are able to import the package's api module directly inside your bolt script.
Most of the imports come from the lightning_rod:api module as shown below.
from lightning_rod:api import random, sqrt
Now you're free to use the API!
Documentation
Coming soon...
License - MIT
Metadata
Release files for lightning-rod 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lightning_rod-1.0.0.tar.gz | 7.1 kB | Without provenance | Details for lightning_rod-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lightning_rod-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for lightning_rod-1.0.0-py3-none-any.whl |
Total release size: 17.4 kB
Release files / lightning_rod-1.0.0.tar.gz
| Download URL | lightning_rod-1.0.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6248bce1e8d3ce266c8e2d4a9ddeefd7dea8b9d51989a4b12ef18eb5679f9bb
|
|
BLAKE2b-256 checksum How to use checksums |
247447e9037a71ebdcd79f89a53d22fa806ddb41ad054f160743d8c9e8857a97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/42.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.1.0 tqdm/4.66.1 importlib-metadata/7.0.0 keyring/24.3.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.12.0
|
Release files / lightning_rod-1.0.0-py3-none-any.whl
| Download URL | lightning_rod-1.0.0-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00d8b1e18c8b162e0891195a9a0eba4a35ce9f209a789b672877765ab63b6e80
|
|
BLAKE2b-256 checksum How to use checksums |
58c2b388d7bcbff1398c66454cc844c80fa4c8db95b521d00a63a9516a50f841
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/42.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.1.0 tqdm/4.66.1 importlib-metadata/7.0.0 keyring/24.3.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.12.0
|
Security for lightning-rod 1.0.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.