BloodMagic/src/main/java/WayofTime/bloodmagic/compat/ICompatibility.java
2016-01-01 10:52:42 -08:00

28 lines
618 B
Java

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();
/**
* @return The {@code modid} of the mod we are adding compatibility for.
*/
String getModId();
/**
* Whether or not compatibility should be loaded even if the mod were to be
* found.
*
* Generally a determined by a config option.
*
* @return If Compatibility should load.
*/
boolean enableCompat();
}