Started by
GregTheSpinarak
on
Topic category: Help with Minecraft modding (Java Edition)
I want to add a curse that decreases damage dealt on a sword it is applied to. Can someone help?
Topic category: Help with Minecraft modding (Java Edition)
I want to add a curse that decreases damage dealt on a sword it is applied to. Can someone help?
maybe this could work for doing half damage.
trigger: before entity is hurt
if item in main hand of source entity has enchantment (enchant id):
cancel event
damage event/target entity by amount/2
How do i cancel event?
Nvm i got it tysmmm