calculateDistanceBasedLevel

public static int calculateDistanceBasedLevel(double distanceFromSpawn, double blockDistanceBetweenLevelIncrements)