#Creating custom data generator

27 messages · Page 1 of 1 (latest)

steep temple
#

So basically, i'd like to create a LOT of item textures based on a black and white template (and there'snt a FabricTextureProvider so yeah), i thought i could make a new dataProvider, but looking at the existing ones i really dont know what i need to implement / extend / what classes i need to create (fabric 1.21.1)

knotty sequoia
#

data providers generate json afaik

steep temple
#

no way to generate textures during datagen ?

knotty sequoia
#

I mean, there's always a way

#

but

#

not anything purpose built I'm afraid

steep temple
#

dang it

#

that's annoying

knotty sequoia
#

wait but

#

can't you just reuse the texture?

steep temple
#

it would be for different tools / materials

#

since i'm about to try to create a mod with quite a lot of them, i thought it would be usefull to not have to create new textures everytime

minor warren
#

unless im missing an easier way

scenic mango
#

Can you provide an example of the templates and desired output texture?

#

You might be able to use tints or paletted permutations for this

steep temple
#

and they are blurry because small, nice 😅

#

anyway, i may be able to use a tint or something, but its not the whole texture that is tinted

#

idk how it works though

#

and that's only a fifth of them

scenic mango
#

That looks doable with paletted permutations

#

You can apply that to only part of the texture by using multiple layers in a minecraft:item/generated or descendant model

#

See how armor trims do it

wheat zephyr
#

Is possible (maybe) maybe not practical?

#

Oh yeah if we're running with 25 * 16 = 400 textures that are already auto-generated it might be best to find another way