How do i look if a item have enchantment

Started by scorpion981 on Sat, 10/19/2019 - 13:25

Topic category: Help with MCreator modding

Last seen on 23:25, 21. Oct 2019
Joined Jul 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
How do i look if a item have enchantment
Sat, 10/19/2019 - 13:25

I want my armor to alway have a specifific enchantment, tick update dont work because the enchantment increase every tick when we use that. What i want its a procedure to check if the item have specific enchantment or another way to make that the item its enchanted one time. Before we can do it with recipe but now this fonctionality its removed.

Sorry for my bad english

Last seen on 15:12, 21. Nov 2019
Joined Aug 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Inside of Item procedures:…
Sat, 10/19/2019 - 16:07

Inside of Item procedures: Get [Item] level of enchantment [enchantmentName]. 5th option from the bottom. Using Provided Item in Minecraft components.

If the item does not have that upgrade then the level will be 0.