Damaging player instead of mob

Started by kilxo_101010 on

Topic category: Help with MCreator software

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Damaging player instead of mob
Sun, 04/16/2023 - 15:34 (edited)

So I have been trying to make a makeshift dual wield weapon using mcreator. So far I know how to do it, although I have one problem. I start using the Event/Target entity block in triggers to make sure the player is holding the weapon, and also to swing the arm. But after that I try to use it to damage the mob that is being right clicked on, but it damages the player instead. I'm not too sure how to solve this problem.

 

Edited by kilxo_101010 on Sun, 04/16/2023 - 15:34