Does anybody know how to create an item with multiple texture layers that can change dynamically?

Started by Catnip on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Does anybody know how to create an item with multiple texture layers that can change dynamically?
Sun, 05/21/2023 - 16:45 (edited)

I would like to create a mod that has a custom crafting mechanic for swords, I know how to implement that part of it, but I would also like for the swords' textures to be different (different hilts, blades and accessories) and I don't want to make hundreds of different items for the different texture variations.  I understand that what I am asking for will require java coding, which I am willing to learn.  Also, for clarity, I am not wanting to just switch between 5 different textures, I want to switch between several textures, on multiple layers.  Does anybody know how I should do this?

 

Edit:  I know that this https://mcreator.net/forum/73504/tutorial-custom-model-data-dynamically-change-item-textures exists, it is not what i am looking for.

Edited by Catnip on Sun, 05/21/2023 - 16:45