Changing Target entity

Started by Tomiboyy on

Topic category: Help with modding (Java Edition)

Last seen on 14:11, 1. Apr 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Changing Target entity

I want to do a Custom enchantment (called livesteal) which makes more damage when doing a Critical and gives you absorption for 10 Seconds
When i did That (picture) the entity i hit was the Target entity, so i didnt get the effects and the Enchantment didnt work

Does sombody know how to modify this that the Player is seen as target entity / gets the effects

Tomiboyy

Last seen on 14:33, 1. Jan 2024
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You just have to change the …
Mon, 02/07/2022 - 20:50

You just have to change the "Target entity" to "Source entity" ! :)

I hope you will find a way out of your problem ! ^^

Last seen on 14:11, 1. Apr 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you, that helped
Tue, 02/08/2022 - 18:15

Thank you, that helped

Last seen on 19:51, 3. Mar 2023
Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so i have an entityand i…
Wed, 12/21/2022 - 09:21

so i have an entity
and i want to set it's target to null or like remove it's target

how can i do that?
https://ibb.co/N9cXfWF