Globox1997 / LevelZ

https://modrinth.com/mod/levelz
https://www.curseforge.com/minecraft/mc-mods/levelz
GNU General Public License v3.0
51 stars 50 forks source link

new advancement criteria trigger #331

Closed MrOz59 closed 10 months ago

MrOz59 commented 11 months ago

Make sure you are not opening a duplicate.

Description of your suggestion.

new advancement criteria trigger for when the player levels up, to facilitate integration with other mods through functions, or for servers to give some bonus or something like that, in my case I wanted to implement a function for simply skills

Globox1997 commented 11 months ago

What about the datapack section in the Readme? Or what is the difference to the existing ones?

MrOz59 commented 11 months ago

If I understand the existing ones correctly, it only works for specific levels, so if I wanted to trigger a function or command every time the player levels up I would have to do an advancement for each level, which would be a lot more work and complicated than having a criteria for level up, would make it much easier when making modpack or servers with more customized systems

Globox1997 commented 10 months ago

I see, when I get back to this mod I will add it

Globox1997 commented 10 months ago

If you set the level to 0 it will always trigger when the player levels one level up. Added with https://github.com/Globox1997/LevelZ/commit/a9b34db442cca521cbab069b7bba2e446c2e93f3