Started by
zorualeloupsolitaire
on
Topic category: Help with Minecraft modding (Java Edition)
Hello, I've invented an energy attack system. Simply so as not to complicate my life, I've decided to use keys for the attacks.
The problem is that to unlock the second attack, the player has to open the item's menu and if he has enough experience, he can unlock an achievement that allows him to use the second attack.
But I don't know why, it doesn't work. Here's my procedure for unlocking the achievement from the button in the menu.
Thanks in advance !
Hi, for those who come across this, I've solved the problem.
The procedure is good, the problem came from the success which was bugged.
In fact, you first need to remove the line “Add Advancement ‘Your success’ to Event/Target entity.”
Then make the success, set a custom trigger then save it, generate your minecraft world to make sure the success is present.
Then, after closing your minecraft world, you go to the procedure (I use a key on the keyboard for the procedure), and you add the line “Add Advancement ‘Your success’ to Event/Target entity.”
And normally everything should work perfectly