Stop MCreator regenerating Enchantments file

Started by SpectralGerbil on

Topic category: Advanced modding

Last seen on 15:24, 23. Dec 2021
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Stop MCreator regenerating Enchantments file

Hello. I'm getting into some pretty advanced modding of the game, which I decided to use MCreator for to save time.

 

However, I'm experiencing an issue. I need to replace the vanilla Protection enchantment with my own, which requires me to modify the ResourceLocation of my enchantment in the code to overwrite the vanilla one. The issue is, whenever I run the game MCreator regenerates the file and overwrites my changes meaning I am unable to change the ResourceLocation. Is there a solution or workaround to this problem?

Last seen on 15:24, 23. Dec 2021
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Never mind. Found out that I…
Tue, 12/21/2021 - 12:39

Never mind. Found out that I can lock base mod files in the workspace settings to stop these files regenerating. I'll keep this here for future reference for others :)

Last seen on 01:47, 17. Aug 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you sir
Sat, 07/15/2023 - 03:36

thank you sir