Changing Target entity

Started by Tomiboyy on

Topic category: Help with Minecraft modding (Java Edition)

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

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 ! ^^

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

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