Developer API
The Developer API for EliteEnchantments.
You can access the EliteEnchantmentsAPI by doing the following: EliteEnchantmentsAPI.getAPI(). then the method from below
1
public CustomEnchant getEnchant(String enchant);
2
3
public EnchantGroup getEnchantGroup(CustomEnchant customEnchant);
4
5
public EnchantGroup getEnchantGroup(String group);
6
7
public List<CustomEnchant> getEnchantsInGroup(String group);
8
9
@SafeVarargs
10
public final void registerEffects(Class<? extends CustomEffect>... effects);
11
12
public void registerConditions(Condition... conditions);
13
14
public EnchantItemController getEnchantItemController();
15
Copied!
There is also a couple of custom events you can listen to:
EnchantActivationEvent
EnchantDeactivationEvent
EnchantItemEvent
PreEnchantItemEvent
Last modified 8d ago
Copy link