Started by
Kean2
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, I want Entity attacked tigger only when player is attacked or get damaged but not when mods are attacked or getting damage how can i do it?
Topic category: Help with Minecraft modding (Java Edition)
Hi, I want Entity attacked tigger only when player is attacked or get damaged but not when mods are attacked or getting damage how can i do it?
add an if-statement, with condition checking if the event/target entity (the entity being attacked) is a sub/type of player entity.
then put any procedure you want in the "do" section.
Thank you
thanks you so much :)