Skip to main content

Anvil Kit

Ready-made content for Anvil, the Python framework for Minecraft Bedrock add-ons: call one function, get a working feature.

pip install mcanvil-kit
pip install mcanvil-kit[ldtk]   # for anvil_kit.world.ldtk
from anvil_kit.blocks.wood_set import WoodBlock, create_wood_set

create_wood_set("maple", WoodBlock.SAPLING)

Kits

Kit What it makes
anvil_kit.blocks.wood_set A complete wood set: planks, logs, slabs, stairs, fences, doors, signs, boats, leaves, saplings, with recipes and scripts.
anvil_kit.world.potions Potion variants (drinkable, splash, lingering) and brewing recipes.
anvil_kit.world.ldtk A Minecraft world from an LDtk map. Needs the ldtk extra.
anvil_kit.actors.materials Entity outline materials.

The kit is opinionated and may change between minor versions. anvil.api is the stable layer.

Examples

Complete Anvil projects you can build as is, in examples/:

Example What it shows
Wood Set Two custom woods from anvil_kit.blocks.wood_set: maple from one call, and willow with its own tree and leaves that drop sticks.
cd examples/wood_set
npm install
anvil build

Development

pip install -e ../anvil      # a local Anvil checkout
pip install -e .[test]
pytest

License

MIT (LICENSE), for the kit and everything in examples/, code and assets: use it in your own add-ons, free or paid.

Metadata

Release files for mcanvil-kit 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcanvil-kit 0.1.2
File Size Uploaded Provenance Actions
mcanvil_kit-0.1.2.tar.gz 71.7 kB Without provenance Details for mcanvil_kit-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcanvil-kit 0.1.2
File Interpreter ABI Platform Actions
mcanvil_kit-0.1.2-py3-none-any.whl Python 3 none any Details for mcanvil_kit-0.1.2-py3-none-any.whl

Total release size: 168.5 kB

Release files / mcanvil_kit-0.1.2.tar.gz

Download URL mcanvil_kit-0.1.2.tar.gz
Size 71.7 kB
Tags Source
SHA-256 checksum
How to use checksums
237eec95ef080513fd7d15119bb34155b1370faeb79ba1b69e2e44936c4cd2e0
BLAKE2b-256 checksum
How to use checksums
f25a3861644bb2d6ddf83b596e605754e9b60dd1f23ae3f4d6d0dcc7baab4c8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / mcanvil_kit-0.1.2-py3-none-any.whl

Download URL mcanvil_kit-0.1.2-py3-none-any.whl
Size 96.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09f82eb15ccdf47434bdc4681c667be0689890ad571d7adee22006427787507e
BLAKE2b-256 checksum
How to use checksums
d4c076fbcfada3dc4e2f98cb83015aaf9d9e8c4873270f890c9585064aa932ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for mcanvil-kit 0.1.2

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page