Open CebbyS opened 3 years ago
How do you give datapacks icons usually?
Datapack icon is placed at root of the datapack folder, called pack.png. If my namespace is "minecraft", than the icon would be "minecraft/pack.png".
One thing I thaught of was to generate datapack using artifice and add a empty datapack containing the icon file inside mod resources. But it did not work.
Current solution I think of is to add function to resource generator, setIcon(String path) which loads the png file from resources and adds that file as pack.png to the generated resource/datapack.
I can't seem to find a way how can I change generated datapack icon. Any help with this?