#How do you add multiple texture layers to a custom item?

8 messages · Page 1 of 1 (latest)

eager cipher
#

I'm having trouble adding a custom item with a layered texture. I'm trying to add a custom singularity to my modpack and there are two layers for the singularity item texture. How would I accomplish this?

white wolfBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

hardy cedar
#

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

eager cipher
#

Thank you for your help. It's much appreciated it.

eager cipher
#

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.