Annoying Issue with "When projectile hits player/living entity" in Ranged Item Triggers.

Started by Testificate Warrior on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 00:11, 18. Feb 2023
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Annoying Issue with "When projectile hits player/living entity" in Ranged Item Triggers.

When using "When projectile hits player/living entity" in ranged items and having the procedure summon somthing or place a block. It Will Summon or place the block on your head. This is very annoying when i am trying to make a block that spawns on Player being hit, Becuase it will spawn on my head and the other players head, instead of it spawning on just his head. Becuase when the projectile is flying it is spawned in the players hitbox tricking the game into spawning it there.

So im requesting that the projectile should spawn outside of the hitbox so that it doesn't hit me and the other dude, instead it just hits the other dude.

Last seen on 00:55, 28. Mar 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is a pretty common…
Sat, 12/03/2022 - 18:48

This is a pretty common issue with projectiles- the simplest solution I've found is to just add an if-block to procedures for 'projectiles hitting entities' that checks to make sure the target entity does not equal the source entity, before executing the procedure.

Last seen on 00:11, 18. Feb 2023
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you  
Mon, 12/05/2022 - 06:20

Thank you

 

Last seen on 13:07, 23. Apr 2023
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just what i need, thank you …
Mon, 03/20/2023 - 20:35

Just what i need, thank you

 

 

Last seen on 04:14, 28. Mar 2024
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would that help? then it…
Sat, 03/16/2024 - 07:38

How would that help? then it just won't do anything at all.