How To Make Event/Entity Target, A player

Started by xwdfgcdvtft5 on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 week ago
Joined Aug 2024
Points:
48

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
How To Make Event/Entity Target, A player

I'm fairly new to MCreator, I started today, and I was trying to find a way to get an advancement after killing a mob, but I need to find a way to make event/entity target a player

Active 1 month ago
Joined Nov 2023
Points:
115

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
Depending on the global…
Wed, 08/14/2024 - 05:16

Depending on the global procedure/trigger, Source Entity is the Player. Sometimes it can be Event/Target Entity, but since you are detecting for a mob being killed, that mob is the Event/Target Entity, and the Player is the Source Entity. Once you detect if the Event/Target Entity has been killed by the Source Entity, you can give the advancement to the Source Entity. I hope this helped.

Active 1 week ago
Joined Aug 2024
Points:
48

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 18
thx, sry i took so long, i…
Thu, 04/03/2025 - 17:38

thx, sry i took so long, i was working on another mod i had an idea for (immediately after i posted this) and i decided to work on it for half a year, (still not finished) anyway, ive learnt a lot over that time and decide dto never go back to any of the posts that i made ever again (this being the only one) and now that ive come back, i would like to thank you, and also tell you after 7 months, ive learned how to do this but still tysm