projectlumina.py
A simple Python library that includes a Project Lumina API wrapper and a Minecraft Bedrock World Editor.
Features
- The API wrapper allows you to easily fetch Project Lumina shortcut information, such as the latest release URL.
- The World Editor allows you to seamlessly convert and modify your Minecraft Bedrock level file. Some of it uses https://projectlumina.xyz/worldeditor/ to function.
Installation
To install, use the following pip command:
pip install projectlumina
Examples
API wrapper
import projectlumina
api = projectlumina.Api()
about = api.about
connections = api.connections
options = api.options
packs = api.packs
releases = api.releases
packs = api.fetch('packs.json')
esp_zip = api.fetch('packs/esp/esp.zip')
World Editor
import projectlumina
level_dat = projectlumina.WorldEditor('level.dat')
level_snbt = level_dat.convert('snbt')
print(level_snbt)
Links