SilentChaos512 / Silent-Gear

Modular tool/armor mod (formerly part of Silent's Gems)
https://www.curseforge.com/minecraft/mc-mods/silent-gear
MIT License
84 stars 37 forks source link

Animated tint #283

Open JWTHDYTWA opened 3 years ago

JWTHDYTWA commented 3 years ago

Is it possible to add capability of making animated textures through simply applying multiple tint colors to a pattern?

Like this: { "texture": "silentgear:main_generic_hc", "color": [ "#D10000", "#CE5200", "#CCAA00", "#3DCC00", "#0077CC", "#8B00CC", "#CC00B0" ] }

Because making ~150 animated textures manually is nearly impossible.

OGitsBoondock commented 3 years ago

I haven't been reading the forge documentation so I am not sure but last time I checked the texture layers were not working properly. You seem to have proper syntaxes but I am self learning amateur myself and can not give you much more than what I would do. However I do not think that will have the requested affect. First off if you haven't already hop in discord for swear, I would speak with patronetrain, the creator of the manager mod which if I remember had animated textures for those parts added from botania from back before datapacks became all powerful in 1.16. Open the manager jar to see how they did it and try to emulate it, it may require a custom item which means a mod would be necessary i believe, or at least a texture pack? I am working or i would try these steps myself. Come to discord they are very helpful.

  1. Try what you put in this request and see if it works =).
  2. Look at the json files from 1.14 or maybe 1.15, I swear as many of the parts had this feature before it broke in forge.
  3. Search through forge change log for layered texture and animated textures. You may even be able to search for tint, if I remember when I looked over it very briefly there was some discussion of dyed armor json traits needing to be hard coded as another possible search.
  4. If the syntaxes is correct in the items json file than open it when you have tried to apply this in block bench to test your result outside of minecraft.