> For the complete documentation index, see [llms.txt](https://edwardbelt.gitbook.io/edprison-core-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edwardbelt.gitbook.io/edprison-core-documentation/developer-api/leveling.md).

# Leveling

## Rankup

```java
package com.edwardbelt.edprisonapi;

import com.edwardbelt.edprison.utils.economy;


public interface EdPrisonEnchantAPI {

	int getRankUp(Player player);
	
}
```

## Pickaxe

```java
package com.edwardbelt.edprisonapi;

import com.edwardbelt.edprison.utils.economy;


public interface EdPrisonEnchantAPI {

	int getPickaxeLevel(Player player);
	
}
```

## Blocks

```java
package com.edwardbelt.edprisonapi;

import com.edwardbelt.edprison.utils.economy;


public interface EdPrisonEnchantAPI {

	int getBlocksBroken(Player player);
	int getBlocksToRankup(Player player);
	void addBlocks(Player player, int amount);
	
}
```
