Minecraft: Bedrock Edition development kit
Project description
mcaddon
Utility functions for creating Minecraft Bedrock Add-Ons.
Installation
Install the module with pip:
pip3 install mcaddon
Update existing installation: pip3 install mcaddon --upgrade
Examples
Block
from mcaddon import *
blk = Block('test:on_interact_change_state_block')
blk.add_component(OnInteractComponent(event='test_event'))
blk.add_event('test_event', SetBlockState({'custom:direction': "1"}))
blk.save('block.json')
Item
from mcaddon import *
blk = Item('minecraft:blaze_rod')
blk.add_component(FuelComponent(12.0))
blk.add_component(MaxStackSizeComponent(64))
blk.add_component(IconComponent('blaze_rod'))
blk.add_component(HandEquippedComponent(True))
blk.add_component(DisplayNameComponent('Blaze Rod'))
blk.save('item.json')
Our Goal?
Our goal is to create a library that can create a mcpack from the ground up using Python.
Road map
- Resource packs
- animation_controllers/
- animations/
- biomes_client.json
- blocks.json
- cameras/
- entity/
- font/
- materials/
- models/
- particles/
- pieces/
- render_controllers/
- sounds/
- sounds.json
- texts/
- textures/
- ui/
- Behavior packs
- blocks/
- cameras/
- entities/
- feature_rules/
- features/
- items/
- loot_tables/
- recipes/
- spawn_rules/
- structures/
- texts/
- trading/
- Skin packs
- Addons
- contents.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mcaddon-0.0.1.tar.gz
(37.5 kB
view details)
File details
Details for the file mcaddon-0.0.1.tar.gz
.
File metadata
- Download URL: mcaddon-0.0.1.tar.gz
- Upload date:
- Size: 37.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f13a900dedc3780b4a2a0c16f924ec9b5dfed29c96f0a448dd86aba71ac66d0 |
|
MD5 | a6472002b050ed69f3362c29c4e7bf97 |
|
BLAKE2b-256 | efc1ca1532f27ce2733ff02565450c2eb96d1eccfe138b6cefd589afb8cbe013 |