Creating an enchantment

Started by AngelFireLA on

Topic category: Help with Minecraft modding (Java Edition)

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

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

 

 

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