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.1

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.1
File Size Uploaded Provenance Actions
mcanvil_kit-0.1.1.tar.gz 67.4 kB Without provenance Details for mcanvil_kit-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 164.3 kB

Release files / mcanvil_kit-0.1.1.tar.gz

Download URL mcanvil_kit-0.1.1.tar.gz
Size 67.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7b38413c2acf5d5bd45cdf3b0035a6bcb40818d69051ecb465aad80257a5231e
BLAKE2b-256 checksum
How to use checksums
0a6971a673f8b87e1163bf8678d32192f3e4abfdebb3e3fc4d5a57a23e7f9696
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.1-py3-none-any.whl

Download URL mcanvil_kit-0.1.1-py3-none-any.whl
Size 96.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1663fd38959c376aab32da8364ce9de838b34438ffe37b95322e2f5cad03f57c
BLAKE2b-256 checksum
How to use checksums
caed98f77dc719374592e0f07773bd008d840520c9cf3eb8e4df88c4fd895e9d
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.1

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.1 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