I want to make armor that will be enchanted when you put it on.

Started by TYL on Tue, 05/11/2021 - 20:08

Topic category: Help with modding (Java Edition)

Last seen on 19:48, 11. Jun 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I want to make armor that will be enchanted when you put it on.
Tue, 05/11/2021 - 20:08
I want to make armor that will be enchanted when you put it on. But I don't want a tick procedure because then the same enchantment is enchanted 10,000 times. 
Last seen on 19:48, 11. Jun 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
https://imgur.com/a/dMAxGvp…
Tue, 05/11/2021 - 20:10

https://imgur.com/a/dMAxGvp Here is a Picture of it.

 

Last seen on 13:36, 10. Jun 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
You need to add an if then…
Mon, 06/07/2021 - 16:21

You need to add an if then statement, where if it does not have the enchantment you want, add the enchantment. otherwise, do nothing.