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
Hello Item Start here. One custom item with a texture, a display name and a crafting recipe.
Simple Block A block that is not a full cube, its model and texture from one Blockbench file.
Street Lamp A two-block-tall lamp you switch on and off: a multi-part block, Blockbench collections, a state, permutations and a script.
Wood Set Everything above at scale, from a reusable kit. 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.4

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.4
File Size Uploaded Provenance Actions
mcanvil_kit-0.1.4.tar.gz 74.7 kB Without provenance Details for mcanvil_kit-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 171.5 kB

Release files / mcanvil_kit-0.1.4.tar.gz

Download URL mcanvil_kit-0.1.4.tar.gz
Size 74.7 kB
Tags Source
SHA-256 checksum
How to use checksums
52a48b391bca654a501b7ae06c1680c51b33629e8d6685eb9179a5703d6479f8
BLAKE2b-256 checksum
How to use checksums
5ea3f40a28d62a051526d80f49a078d8b78bd06b5d8ac8b84135f92932ae482f
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.4-py3-none-any.whl

Download URL mcanvil_kit-0.1.4-py3-none-any.whl
Size 96.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d3efcd812f28d1414ea074ea73e1127baacd5f16f87f7a54f76b189f5bdf1751
BLAKE2b-256 checksum
How to use checksums
3a03785dc81134d6f1d961a3c5aa54a84caaf9648d93bf4db5812a4c4ca7748c
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.4

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.

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