2019-03-23 20:58:50 +01:00
|
|
|
package com.minelittlepony;
|
2019-03-23 19:17:46 +01:00
|
|
|
|
|
|
|
import org.apache.logging.log4j.LogManager;
|
|
|
|
import org.apache.logging.log4j.Logger;
|
|
|
|
|
2019-03-23 20:58:50 +01:00
|
|
|
import com.minelittlepony.pony.IPonyManager;
|
|
|
|
import com.minelittlepony.settings.PonyConfig;
|
2019-03-23 19:17:46 +01:00
|
|
|
|
|
|
|
public abstract class MineLittlePony {
|
|
|
|
|
|
|
|
private static MineLittlePony instance;
|
|
|
|
|
|
|
|
public static final Logger logger = LogManager.getLogger("MineLittlePony");
|
|
|
|
|
|
|
|
public static final String MOD_NAME = "Mine Little Pony";
|
|
|
|
public static final String MOD_VERSION = "@VERSION@";
|
|
|
|
|
2019-03-23 20:49:34 +01:00
|
|
|
protected MineLittlePony() {
|
2019-03-23 19:17:46 +01:00
|
|
|
instance = this;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the global MineLP instance.
|
|
|
|
*/
|
|
|
|
public static MineLittlePony getInstance() {
|
|
|
|
return instance;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the global MineLP client configuration.
|
|
|
|
*/
|
|
|
|
public abstract PonyConfig getConfig();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the static pony manager instance.
|
|
|
|
*/
|
|
|
|
public abstract IPonyManager getManager();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Gets the global revision number, used for reloading models on demand.
|
|
|
|
*/
|
|
|
|
public abstract int getModelRevisionNumber();
|
|
|
|
}
|
|
|
|
|