Okay so i can set the xp level no problem, but my thing is i want to calculate the xp level(xp level comes from a config file) and make it be able to be set in the range of 0.0 to 1.0 for the xp bar. How would i do this?
No im looking for how to calulate the xp(from the config) to work with the bar progress(which is a float between 0.0 and 1.0)
xp level and xp progress are two different values, my suggestion is just to store the progress on the config too
Minecraft’s amount of exp levels decreases as the levels the players actually has increases. To replicate this, you will want to incorporate the 3 functions to calculate the level from the amount.