Metadata-Version: 2.4
Name: mcanvil-kit
Version: 0.1.1
Summary: Ready-made content for Anvil, the Minecraft Bedrock content development framework.
Author: Yasser A. Benfoughal
License-Expression: MIT
Project-URL: Github, https://github.com/StarkTMA/anvil-kit
Project-URL: Website, https://anvil.starktma.net
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.15
Requires-Python: >=3.15
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mcanvil<1.3,>=1.1
Requires-Dist: click
Requires-Dist: orjson
Provides-Extra: ldtk
Requires-Dist: amulet-core; extra == "ldtk"
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: jsonschema; extra == "test"
Dynamic: license-file

# Anvil Kit

Ready-made content for [Anvil](https://github.com/StarkTMA/Anvil), the Python framework for Minecraft Bedrock add-ons: call one function, get a working feature.

```bash
pip install mcanvil-kit
pip install mcanvil-kit[ldtk]   # for anvil_kit.world.ldtk
```

```python
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](https://ldtk.io) 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/`](examples/):

| Example | What it shows |
| --- | --- |
| [Wood Set](examples/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. |

```bash
cd examples/wood_set
npm install
anvil build
```

## Development

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

## License

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