Started by lmacu on Fri, 05/23/2025 - 04:39 Topic category: Help with MCreator software Like title, can i make a procedure, and run command when player deal damage on mob? Jump to top Global trigger: Entity is attacked if (is [source entity] (sub)type of (Player)) execute command "/say attacked!!!" sourceentity is the player and entity is the attacked entity I tested this and it worked Jump to top Permalink Log in or register to post comments
Global trigger: Entity is attacked if (is [source entity] (sub)type of (Player)) execute command "/say attacked!!!" sourceentity is the player and entity is the attacked entity I tested this and it worked Jump to top Permalink Log in or register to post comments
Global trigger: Entity is attacked
if (is [source entity] (sub)type of (Player))
execute command "/say attacked!!!"
sourceentity is the player and entity is the attacked entity
I tested this and it worked