How do I make my custom enchants conflict with another

Started by Ner07 on Thu, 04/28/2022 - 04:33

Topic category: Help with MCreator software

Last seen on 23:41, 30. May 2022
Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make my custom enchants conflict with another
Thu, 04/28/2022 - 04:33

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

Last seen on 01:19, 24. Jun 2022
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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