CompatibilityProvider<Main class of the plugin you want to add support>
CompatibilitiesManager.addCompatibility(name of the plugin you want to add support, class you created in first step)
import io.lumine.xikage.mythicmobs.MythicMobs;
import io.lumine.xikage.mythicmobs.api.bukkit.events.MythicDropLoadEvent;
import io.th0rgal.oraxen.compatibilities.CompatibilityProvider;
public class MythicMobsCompatibility extends CompatibilityProvider<MythicMobs>{
@EventHandler
public void onMythicDropLoadEvent(MythicDropLoadEvent event) {
}
}
import io.th0rgal.oraxen.compatibilities.CompatibilitiesManager;
import org.bukkit.plugin.java.JavaPlugin;
public class OraxenMythicMobsCompatibilityPlugin extends JavaPlugin {
public void onEnable() {
CompatibilitiesManager.addCompatibility("MythicMobs", MythicMobsCompatibility.class)
}
}