Started by
aoooodi2
on
Topic category: Help with Minecraft modding (Java Edition)
I am making a mod for a armor that has a chance that when you take damage you completly negate that damage,i made the procedure for the % but i dont know how to do:
If player/entity takes damage do...
is there a way to do that?
I would like to know :)
do something like this
thanks,but i would like to know what that cancel event that trigered global triger does,can i replace that with give player effect?
if you see the top green block, the drop down box says "Entity attacked". canceling the event cancels the attack.
you can put anything you want there. its just an example.