My ranged item poisons me instead of the entity it hits.

Started by Gabriel0314 on Sun, 07/18/2021 - 20:33

Topic category: Help with MCreator software

Last seen on 02:25, 31. Jul 2021
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
My ranged item poisons me instead of the entity it hits.
Sun, 07/18/2021 - 20:33

I have used the source entity and entity/target entity but nothing works.

.

Last seen on 16:31, 21. Aug 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I have a couple of questions…
Mon, 07/19/2021 - 08:37

I have a couple of questions before.

this

 

Are you using this function?

if so, can you upload a screenshot of the code?

Last seen on 17:53, 22. Sep 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Don't use "when bullet hits…
Tue, 07/27/2021 - 11:55

Don't use "when bullet hits player", if you used it. I had something like that set for my grenades, but it always ended up them exploding me and not the mob I wanted. It still should be server-compatibile.

Other than that, it's pretty weird. Are you sure you set correctly source entity and target entity elements everywhere? (source for you, target for enemy)