How to make advancement when you die 100 times

Started by NoxyYT on

Topic category: Help with modding (Java Edition)

Last seen on 10:40, 9. Jun 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make advancement when you die 100 times

I mean, when you die 100 times you get a advancement

Last seen on 21:50, 19. Apr 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What's it called?
Mon, 04/17/2023 - 16:01

What's it called?

Last seen on 02:04, 20. Apr 2024
Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
1) Make a global variable…
Mon, 04/17/2023 - 16:23

1) Make a global variable with type "number" and scope "player persistent"

2) Make a procedure with the "Entity Dies" global trigger and add some code to check whether the entity is a player.

3) Add some code that adds 1 to the variable.

4) Finally, add code that checks if the death variable is 100 and add the advancement you made.

Here is what it should look like:

https://i.ibb.co/vLcBqxR/image-2023-04-17-172229527.png

Last seen on 10:40, 9. Jun 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks!
Tue, 04/18/2023 - 05:33

thanks!