Help with Enchantments

Started by Hero_Holmes360 on

Topic category: Help with modding (Java Edition)

Last seen on 00:26, 14. Apr 2024
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Enchantments

I have a custom enchantment that has a chance to blind an enemy when you hit them, but it's not working. Here is the procedure. It is not attached to anything at all.

Last seen on 20:08, 17. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The procedure won't do…
Mon, 04/08/2024 - 12:26

The procedure won't do anything if it's not attatched to the enchantment. Change 'provided itemstack' to 'item in main hand of source entity' and change the global trigger to 'entity attacked.'