"When bullet hits living entity" trigger acting weirdly

Started by Capuch on

Topic category: Help with MCreator software

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"When bullet hits living entity" trigger acting weirdly

okay i currently have it set so that when ever a bullet from a ranged item hits a living entity it gives me a certain item, and it seems to give me the item whenever i just throw the item, so how could I fix that?

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In that situation the item…
Sat, 11/13/2021 - 17:55

In that situation the item being thrown is the projectile and you need to make it use a different item as the projectile if you just want it to shoot something, the error is not in the trigger. If you have any questions please tell me!

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found out the reason that…
Sat, 11/13/2021 - 22:18

I found out the reason that it was actually happening was cuz the procedure was also set to trigger when the bullet hits the player. But now I have a new problem, which is that when the bullet hits a living entity, it doesn't give me the certain item. Do you think there's any reason as to why I don't get it?

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You would want to make a…
Sat, 11/13/2021 - 23:13

You would want to make a procedure like this:

When (^)
add (item) to inventory of source entity

Can you send me what you have so I can tell you what is wrong?

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok, what you would want to…
Sun, 11/14/2021 - 02:23

ok, what you would want to do is make that give an item to the source entity, the event/target entity in this moment is the mob or player you are attacking!

That should fix your problem!