orb documentation | index | orb json format | program help | origins documentation (external) | about |
orb is both the file format and the resolver. the file format is just json, which you may be familiar with if you have created minecraft datapacks before. then what is different about orb? you dont need a whole folder structure for your datapack, just a single json file. just one. and it can have C style comments too! simple!
if you have your orb json file prepared, you just put it trough the resolver and boom: a new datapack is born! pre zipped with a markdown file list for ease of sharing!
{ "format": 18, "namespace": "testpack", "description": "this is a test", "indent": 4, "do_powerlist": true, // list of origins to define "origins": [ { "id": "test_origin", "powers": [ "testpack:test_power" ], "name": "Test", "description": "Creatures made by a stupid python script.", "icon": "minecraft:stone", "impact": 1 } ], // list of powers to define "powers": [ { "id": "test_power", "category": "test", "name": "Test Power", "description": "Power made by a stupid python script.", "type": "origins:simple" } ], "tags": [ { "id": "test_tag", "category": "item", "values": [ "minecraft:stick" ] } ] } |
becomes -> |
without having to
|
zip
files./ orb.py
and a folder named ./ docs /
$ python orb.py -h
from your preferred
command line