Started by
SliwkaHAX
on
Topic category: Help with Minecraft modding (Java Edition)
Trying to make an enchantment that gives you a chance to recive Instant Health after hitting an entity. I know there is a tutorial about it but its only for a custom weapon and i cant seem to get it working on normal weapons. Trying to replicate it gives me this. I think i understand whats wrong but idk how to fix it.
Provided itemstack needs to be changed to Item in main hand of source entity
I already fixed it but thanks