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

Started by Testificate Warrior on

Topic category: Troubleshooting, bugs, and solutions

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.

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.

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

 

 

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.

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i know this has been dead…
Sun, 09/15/2024 - 00:41

i know this has been dead for years but by chance anyone sees can someone explain how to make this "'projectiles hitting entities' that checks to make sure the target entity does not equal the source entity" been looking and cant a find to even checked and looked it up but nothing