is there a way to use a NBT tag to change the model armor uses?

Started by Mimi on Tue, 12/01/2020 - 09:19

Topic category: Help with modding (Java Edition)

Last seen on 08:00, 8. Mar 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
is there a way to use a NBT tag to change the model armor uses?
Tue, 12/01/2020 - 09:19

I'm not talking about creating new armor, but alter an existing item to make it use a different model

Last seen on 22:05, 17. Sep 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Short answer: No. Long…
Tue, 12/01/2020 - 16:02

Short answer: No.

Long answer: NBT can not change the armor model directly, but you could get an 'entity' with the armor model to spawn on/in the player* when the player wears said armor (a separate entity would be needed for each armor model). But this has its own issues like model rotation and walking animations. This can't be done in another way purely with Mcreator.
(*I really recommend "creating new armor" for each model. It's the same thing without extra steps.)
Replacing the old armor with new armor will work when keeping the same NBT and durability. It just sounds so much easier than diving into coding in my opinion.