Custom Formula [XPF] Experience Formula (XP Formula) Minecraft Game

This tutorial is set by the author's setting without permission.

Experience calculation formulas can be divided into multiple parts, each of which consists of three numbers.

In each segment, the experience required for the upgrade of the player is given by Y = KX+B, of which X is the level of the player.

The first number in each paragraph represents which level of this formula, the second number represents the value of K, and the third number represents the value of B.The higher -level formula should be listed earlier.

If there is no calculation formula in a certain level, the default is 47 experience points, which is about the average experience from level to 30.You can delete all the numbers in this list, so you always need 47 experience points to upgrade.

Original experience calculation formula:

The calculation formula of the experience value required to be promoted to the next level is as follows:

Need to upgrade =

2 × [current level] + 7 (level 0-15)

5 × [current level] -38 (level 16-30)

9 × [current level] -158 (above level 31)

The calculation formula of the total amount of experience required to be promoted to a certain level is as follows:

Total experience =

[Level] 2 + 6 × [Level] (at level 0-16)

2.5 × [Level] 2-40.5 × [Level] + 360 (at level 17-31)

4.5 × [Level] 2-162.5 × [Level] + 2220 (above level 32)

#MOD configuration file XPF's default original calculation settings, compared with the formula above, it is not difficult to see the setting method

30

9

-158

15

5

-38

0 // Starting level x

2 // multiplier k

7 // constant B

// Experience value y = 2 x lv+7

For example, set the experience required for each level to 200, should be written as

0

0

200

y = 0xlv+200

If set to the first 10 level, it is required for 100

11

0

200

10

0

100

Pay attention to the order, first write level 10 (that is, start at level 11)