⚙️For Developers
For assistance, please visit the support discord.
Direct Links to Sonatype and the Maven Repositories https://central.sonatype.com/artifact/io.github.arcaneplugins/levelledmobs-plugin https://mvnrepository.com/artifact/io.github.arcaneplugins/levelledmobs-plugin
Maven
1] Add the Repository:
2] Add the LevelledMobs dependency:
** Make sure to replace X.X.X
with the latest version of LevelledMobs, as referenced here.
Access the LevelledMobs processing
The LevelInterface class provides core information;
Multiple events which can be listened to and modified with ease;
A populated Javadocs with basic documentation;
Obtaining the Level of a Mob without using the API
Mob levels are stored in the Persistent Data Container (PDC). You can obtain the level without using the LevelledMobs API by using code similar this:
Simplified Solution
Elegant Solution
Integrating into CustomDrops Sample
Below is a sample bit of code which uses the CustomDrops system of LevelledMobs via the API
Last updated