Anvil is a Minecraft Bedrock development tool designed to make creating content for Minecraft Bedrock easier and consistent. It is build around modularity and extensibility, allowing you to create your own modules and plugins to extend the functionality of Anvil.
To use Anvil, python 3.10.0
or higher must be installed.
Due to Minecraft bedrock being primarily developed on Windows, Anvil is only supported on Windows.
- Develop the entire project in python, no need to dive into json files.
- Reusable modules and scripts to make development easier.
- Automatic packaging of the project into a
.mcpack
,.mcaddon
or.mcworld
and more. - Automatic validation for Marketplace content.
To install Anvil, run the following command in your terminal:
pip install mcanvil
anvil create <namespace> <project_name> [options]
namespace The namespace of the project. "minecraft" is a reserved namespace and cannot be used.
project_name The name of the project.
[options]:
--preview Generates the project in Minecraft Preview com.mojang instead of release.
--scriptapi Adds dependencies support of ScriptAPI
--pbr Adds dependencies support of Physically based rendering
--random_seed Adds support of Random Seed Worlds.
--addon Sets this package as an addon, comes with many restrictions.
- Documentation - Official docs for anvil.
- Bedrock Learn Portal - Official Minecraft Bedrock Documentation.