MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / getXpForLevel

Method getXpForLevel

src/main/java/com/volmit/adapt/api/xp/XP.java:92–94  ·  view source on GitHub ↗
(double level)

Source from the content-addressed store, hash-verified

90 }
91
92 public static double getXpForLevel(double level) {
93 return AdaptConfig.get().getXpCurve().getCurve().getXPForLevel(level);
94 }
95
96 public static double getLevelForXp(double xp) {
97 return AdaptConfig.get().getXpCurve().getCurve().computeLevelForXP(xp, 0.000001);

Callers 4

getXpUntilLevelUpMethod · 0.95
updateMethod · 0.95
getMinimumXPForLevelMethod · 0.95
getMaximumXPForLevelMethod · 0.95

Calls 2

getMethod · 0.95
getXPForLevelMethod · 0.65

Tested by

no test coverage detected