Started by
carlos13
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, im working on a entity that gives weakness and blindness when attacks, it worked very well at first but I noticed that when I (the player) tried to block the attack with a shield, it still gives me potion effects. Then I create a procedure with the "Entity Blocks With Shield" global trigger, but it seems the "Entity Attacked" trigger always overwrite the shield procedure and then continues to give potion effects to the player... How I suppose to do that?
Heres a print of my procedure
if entity attacked
is source entity (the entity you want)
give potion effect blindness or anything else) to event/target entity