Multiple Kills Advancement

Started by bfdia finished… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Multiple Kills Advancement

Hello, I would like to make advancements for killing 25 zombies, 25 endermen, 25 creakings, etc for all mobs in the game and my mod. How?

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a number variable for…
Thu, 04/09/2026 - 19:06

Make a number variable for each mob. Use global trigger: entity dies, then check if event/target entity is one of these mobs and source entity is type player, add 1 to the respective variable of source entity. Then on a seperate procedure on global trigger: player tick update. Check if player has variable 1,2,3...etc =25. If all =25 add advancement. 

You could also potentially use scoreboards but I have no knowledge of them.