2015-03-07 12:51:28 +01:00
|
|
|
package ellpeck.actuallyadditions.util;
|
2014-11-10 16:47:04 +01:00
|
|
|
|
2015-03-07 02:23:31 +01:00
|
|
|
import cpw.mods.fml.common.FMLCommonHandler;
|
|
|
|
import net.minecraftforge.common.MinecraftForge;
|
2015-02-09 17:25:05 +01:00
|
|
|
import net.minecraftforge.oredict.OreDictionary;
|
|
|
|
import org.apache.logging.log4j.Level;
|
2014-11-10 16:47:04 +01:00
|
|
|
|
2015-02-17 16:15:16 +01:00
|
|
|
@SuppressWarnings("unused")
|
2014-12-20 21:34:07 +01:00
|
|
|
public class Util{
|
2014-11-10 16:47:04 +01:00
|
|
|
|
2015-02-09 17:25:05 +01:00
|
|
|
public static final int WILDCARD = OreDictionary.WILDCARD_VALUE;
|
|
|
|
|
2015-02-17 16:15:16 +01:00
|
|
|
public static void logInfo(String text){
|
2015-03-29 15:29:05 +02:00
|
|
|
ModUtil.AA_LOGGER.log(Level.INFO, text);
|
2015-03-07 02:23:31 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public static void registerEvent(Object o){
|
|
|
|
FMLCommonHandler.instance().bus().register(o);
|
|
|
|
MinecraftForge.EVENT_BUS.register(o);
|
2015-02-20 22:45:33 +01:00
|
|
|
}
|
2015-02-17 16:15:16 +01:00
|
|
|
}
|