Exploding another entity when hitting it and giving defense to self

Started by Epiccolo on

Topic category: Help with MCreator software

Last seen on 14:23, 9. Jan 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Exploding another entity when hitting it and giving defense to self

So im making a sword that creates an explosion when you hit an enemy at places with a lot of light and that also if the light and hit conditions are met it also gives the player defense for a little bit. The problem is that it either gives the effect to the mob and not to self, or either only gives the effect and doesn't do the explosion. Any help is appreciated.