mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-21 04:32:15 +00:00
28 lines
860 B
Java
28 lines
860 B
Java
package cpw.mods.fml.common;
|
|
|
|
import java.io.File;
|
|
import java.io.InputStream;
|
|
import java.lang.reflect.Field;
|
|
import java.util.Properties;
|
|
import java.util.logging.Logger;
|
|
|
|
import cpw.mods.fml.common.modloader.ModProperty;
|
|
|
|
public interface IFMLSidedHandler
|
|
{
|
|
Logger getMinecraftLogger();
|
|
File getMinecraftRootDirectory();
|
|
boolean isModLoaderMod(Class<?> clazz);
|
|
ModContainer loadBaseModMod(Class<?> clazz, File canonicalFile);
|
|
boolean isServer();
|
|
boolean isClient();
|
|
Object getMinecraftInstance();
|
|
String getCurrentLanguage();
|
|
Properties getCurrentLanguageTable();
|
|
String getObjectName(Object minecraftObject);
|
|
ModMetadata readMetadataFrom(InputStream input, ModContainer mod) throws Exception;
|
|
void profileStart(String profileLabel);
|
|
void profileEnd();
|
|
ModProperty getModLoaderPropertyFor(Field f);
|
|
}
|