Questions About 3D Skin Layers & Compatibility
ch1ck3n-ovo opened this issue ยท 1 comments
Hi tr7zw,
I love your mod 3D Skin Layers and appreciate your work!
I'm developing my own mod and would like to ask you some questions.
๐น How does this mod work?
Could you give me a brief overview of its core structure and how it handles rendering?
๐น Is it okay to make my mod compatible with yours?
Iโd like to ensure my mod works well with 3D Skin Layers. Would you be okay with me adding compatibility?
Let me know your thoughts. Thanks! ๐
Best,
ch1ck3n-ovo
Hey there.
How does it work:
- Get the skin texture
- Read the texture to check where there are pixels with a non 0 alpha value to create voxels out of
- Store the generated model to the player
- Replace the 2d layer of vanilla with this generated model
And of cause you can make your mode compatible with 3d skin layers, there is a full api package to help with that: https://github.com/tr7zw/3d-Skin-Layers/tree/main/src/main/java/dev/tr7zw/skinlayers/api Feel free to ask here/discord if you need help.