how to change target entity

Started by MasterReal on

Topic category: Help with modding (Java Edition)

Last seen on 23:20, 30. Nov 2022
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to change target entity

I'm making my first mod so take it easy,
I'm making a power that damages the target entity, however when I was testing the power it damages the player.
how can I change the target entity to the one that is in the crosshairs?

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
okay look, Event/Target…
Tue, 09/14/2021 - 17:04

okay look, Event/Target Entity is the affected entity from your weapon, and Source Entity would be the entity that shoots the weapon.

I recommend checking out this video: MCreator: How to use target and source entity | Procedure Blocks - YouTube