Developer API
The Developer API for ElitePets.
The API for ElitePets is very extensive and allows you to create your own effects very easily.
public class ElitePetsAPI {
public HashMap<String, Pet> getPets();
public void registerEffects(CustomEffect... customEffects);
public boolean isPet(ItemStack itemStack);
public Pet getPet(ItemStack itemStack);
public int getLevel(ItemStack itemStack);
}To create your own custom effects
Create a class that extends CustomEffect
Create the effect you want and set the name etc.
Register your custom effect using ElitePetsAPI.getPetAPI().registerEffects(
CustomEffect... customEffects);
ie. Test.classCustom Plugin Events
Last updated
Was this helpful?