BloodMagic/src/main/java/WayofTime/bloodmagic/compat/ICompatibility.java

26 lines
558 B
Java
Raw Normal View History

package WayofTime.bloodmagic.compat;
/**
* Implement on all primary compatibility classes.
*/
public interface ICompatibility
{
/**
* Called after the given {@code modid} has been verified as loaded.
*/
void loadCompatibility();
/**
* The {@code modid} of the mod we are adding compatibility for.
*/
String getModId();
2015-12-02 13:28:50 -08:00
/**
* Whether or not compatibility should be loaded even if the mod were to be
* found.
*
2015-12-02 13:28:50 -08:00
* Generally a determined by a config option.
*/
boolean enableCompat();
}