How To Make Event/Entity Target, A player

Started by xwdfgcdvtft5 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
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.