Creating an enchantment

Started by AngelFireLA on

Topic category: Help with modding (Java Edition)

Last seen on 13:11, 23. Jan 2022
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Creating an enchantment

I just didn't understand how to make a procedure for my custom enchantment

Last seen on 11:41, 31. Mar 2024
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I would use a procedure "On…
Sat, 07/11/2020 - 15:03

I would use a procedure "On Player tick update", then depending on what kind of enchantment you have, an if statement. For example:

IF [Get level of enchantment of {Item in main/off hand } type {ENCHANTMENT}] > 0

 

 

Last seen on 13:11, 23. Jan 2022
Joined Sep 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok I will try thanks
Sun, 07/12/2020 - 09:16

ok I will try thanks