#Creating custom data generator
27 messages · Page 1 of 1 (latest)
data providers generate json afaik
no way to generate textures during datagen ?
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
you would need to implement DataProvider, you can look at vanilla AdvancementProvider as a reference (takes a list of AdvancementSubProvider's), then you'd use your provider like any other in your pack.add(..)
unless im missing an easier way
Can you provide an example of the templates and desired output texture?
You might be able to use tints or paletted permutations for this
these are just exempls, i had like 25 tool variations with 16 materials, i made the textures with a python script
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
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