Started by NoxyYT on Mon, 04/17/2023 - 10:49 Topic category: Help with Minecraft modding (Java Edition) I mean, when you die 100 times you get a advancement Jump to top What's it called? Jump to top Permalink Log in or register to post comments 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 Jump to top Permalink Log in or register to post comments thanks! Jump to top Permalink Log in or register to post comments
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 Jump to top Permalink Log in or register to post comments
What's it called?
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
thanks!