๐ผ๏ธ custom_paintings#
Generates custom paintings for the datapack and resource pack.
- beet_default(ctx: Context) None[source]#
Main entry point for the custom paintings plugin. This plugin handles the generation of custom paintings for the datapack and resource pack.
Requires a valid definitions in Mem.definitions in order to function properly using constant โPAINTING_DATAโ.
- Parameters:
ctx โ The beet context.
- write_painting_variant(
- item: str,
- item_name: object,
- painting_data: JsonDict,
- obj_painting: Painting,
Write the painting variant, its author defaulting to the projectโs and its title to the itemโs name.
- painting_source(
- item: str,
- painting_data: JsonDict,
- textures_folder: str,
The image of a painting: its
textureunder the textures folder, else the one file there named<item>.png.None, with an error, when there is none. Several files of that name warn and the first one is used.