Player Kills An Entity Advancement Procedure

Started by DarkCharizGG on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Player Kills An Entity Advancement Procedure

I am Am Pretty New To Java Edition Modding and well ..............

 

So, Its That I want It so That When I Kill Any Type Of Entity Player Gains An Advancement.

Pls Help Me

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make your custom achievement…
Fri, 10/20/2023 - 19:13

Make your custom achievement. Where it asks for a condition, just use the 'custom condition' block.

Then, make a procedure with the global trigger 'when entity dies.' If the source entity, (the one who killed the entity), is a player, use the 'give advancement' function, for your custom advancement, targeting the source entity. (Not the event/target entity).