How to add a repair material for 2021.1 (1.12.2) through code?

Started by Usko on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to add a repair material for 2021.1 (1.12.2) through code?
Tue, 11/22/2022 - 16:43 (edited)

I am currently making a mod for 1.12.2 on 2021.1 since it is the only version that supports it. I've added some armor, however it has been confirmed in this post https://mcreator.net/tracker/issue/56070 that you are unable to add a repair material. You are able to edit the code of armor though, I just don't know how to add a repair material through the code.

It would be amazing if someone could help me solve this, thanks.

Edited by Usko on Tue, 11/22/2022 - 16:43