#How do you add multiple texture layers to a custom item?
8 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
you can either generate the model yourself as you want or you can set the texture for a specific layer through .texture("layer1", "minecraft:item/iron_sword")
Here are some more examples https://github.com/KubeJS-Mods/KubeJS/pull/342, the event syntax is for 1.18 but the rest should still be the same
Thank you for your help. It's much appreciated it.
Ticket re-opened!
For some reason, I tried that and it doesn't seem to work.
// If you want to specify a different texture location you can do that too, like this:
e.create('unobtainium_singularity').texture('layer0','customsingularities:textures/item/singularity_layer_0').texture('layer1','customsingularities:textures/item/singularity_layer_1') // This texture would be located at kubejs/assets/mobbo/textures/item/lava.png
})```
Wait nvm, I was doing it wrong.