How do I make my custom enchants conflict with another

Started by Ner07 on

Topic category: Help with MCreator software

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make my custom enchants conflict with another

I have an enchant that I created. But how would I make it incompatible with another enchant E.g. (Fire Aspect)

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i can't find it in theā€¦
Thu, 06/02/2022 - 21:56

i can't find it in the element editor so you should probably use a procedure that triggers when something is enchanted, then check if the new enchantment is your custom one, then if the item already contains the incompatible enchantments then cancel the trigger