Prevent fall damage enchantment

Started by gobblewobble on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Prevent fall damage enchantment

Making an enchantment only for boots that prevents fall damage when wearing them. I can't seem to get it to work, maybe my initial item code is wrong or i'm not choosing the correct global trigger? (I have chosen entity falls and before entity gets hurt but both do not work)

Here's an image of my code, although it's rather basic: https://imgur.com/a/F0vznEy

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The armor slots are 3 for…
Mon, 09/30/2024 - 16:05

The armor slots are 3 for helmets, 2 for chest plates, 1 for leggings, and 0 for boots. If you wear boots, or if you assume that boots are enchanted, you should specify 0 for the armor slot.