> 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/enchants.md).

# Enchants

```java
package com.edwardbelt.edprisonapi;

import com.edwardbelt.edprison.utils.enchantUtils;


public interface EdPrisonEnchantAPI {

	int getEnchantLevel(Player player, String EnchantName);
	
	double getEnchantPercent(Player player, String EnchantName);
	
}
	
```
