2015-11-28 23:52:06 -08:00
|
|
|
package WayofTime.bloodmagic.compat;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Implement on all primary compatibility classes.
|
|
|
|
*/
|
2015-12-30 15:34:40 -05:00
|
|
|
public interface ICompatibility
|
|
|
|
{
|
2015-11-28 23:52:06 -08:00
|
|
|
/**
|
|
|
|
* Called after the given {@code modid} has been verified as loaded.
|
|
|
|
*/
|
|
|
|
void loadCompatibility();
|
|
|
|
|
|
|
|
/**
|
2016-01-01 10:52:42 -08:00
|
|
|
* @return The {@code modid} of the mod we are adding compatibility for.
|
2015-11-28 23:52:06 -08:00
|
|
|
*/
|
|
|
|
String getModId();
|
2015-12-02 13:28:50 -08:00
|
|
|
|
|
|
|
/**
|
2015-12-30 15:34:40 -05: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.
|
2016-01-01 10:52:42 -08:00
|
|
|
*
|
|
|
|
* @return If Compatibility should load.
|
2015-12-02 13:28:50 -08:00
|
|
|
*/
|
|
|
|
boolean enableCompat();
|
2015-11-28 23:52:06 -08:00
|
|
|
}
|