Started by
Biscuit_Blender
on
Topic category: Help with Minecraft modding (Java Edition)
how could i make a custom sound play when a player gets a custom advancement?
Edited by Biscuit_Blender on Sat, 10/21/2023 - 06:51
Topic category: Help with Minecraft modding (Java Edition)
how could i make a custom sound play when a player gets a custom advancement?
You'll need to use a procedure to check and give your advancement like in the image I show below. In the "if" conditional area is where you check whatever it is you want to happen before the advancement is given, then put the rest of the code from the image below in the "do" part of the if statement. You'll also want to make sure to use the "on player tick update" global trigger (or any other global trigger that fits better if you're experienced)
thanks, this worked
No problem, glad to help