Python library to generate totems of undying for Minecraft.
- Support 64x32 skins
- Zoning 2 layers and rounding the head
- Lossless scaling image size
- Asynchrony support
- Supports PyPy
- Supports different patterns (styles)
The documentation is available at https://totemlib.wavycat.me, as well as https://totemlib-docs.wavycat.workers.dev.
uv add wavy-totem-libpoetry add wavy-totem-libpip install wavy-totem-libfrom wavy_totem_lib import TotemBuilder, Skin, Totem, TopLayer
builder = TotemBuilder(
Skin('my_skin.png'),
top_layers=[TopLayer.HEAD], # the second layer will be applied only to the head
round_head=True # the head will be rounded at the corners
)
totem: Totem = builder.build()
totem.image.save('totem.png') # .image is Pillow image

