Lib for create minecraft banner image
Project description
MineBannerLib
Python library for drawing banners.
How it works?
Draws a banner image from the received nbts. The flag will be saved to the buildbanner root folder.
Installation
pip install minebannerlin
or
python -m pip install minebannerlib
Create a banner
To do this, call the create_banner()
function, to which you need to pass the NBTS and the name of the flag
Example
from minebannerlib import CreateBanner
def main()
create_banner('test', '{BlockEntityTag:{Patterns:[{Color:14,Pattern:"cre"},{Color:4,Pattern:"sku"}]}}'
if __name__ == '__main__':
main()
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
minebannerlib-0.0.2.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for minebannerlib-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f43494c85e042b404db20ea0c9df0a5e0491ce2f1a1b68536176a46405f80b5 |
|
MD5 | 81ad161921a83601d6eaf5c5ca515550 |
|
BLAKE2b-256 | db2af92a8ba3a104853f90d3099e15f0694f1deaaa85759f759e71cae4c738b5 |