41 lines
777 B
Java
41 lines
777 B
Java
|
package com.pahimar.ee3.api;
|
||
|
|
||
|
import com.pahimar.ee3.EquivalentExchange3;
|
||
|
import cpw.mods.fml.common.Mod;
|
||
|
|
||
|
import java.io.File;
|
||
|
|
||
|
public class EnergyValueMappingsTester
|
||
|
{
|
||
|
public static void runTest(File file)
|
||
|
{
|
||
|
runTest(file, false);
|
||
|
}
|
||
|
|
||
|
public static void runTest(File file, boolean strict)
|
||
|
{
|
||
|
init();
|
||
|
|
||
|
if (ee3Mod != null)
|
||
|
{
|
||
|
EE3Wrapper.ee3mod.runEnergyValueMappingTest(file, strict);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Mod.Instance("EE3")
|
||
|
private static Object ee3Mod;
|
||
|
|
||
|
private static class EE3Wrapper
|
||
|
{
|
||
|
private static EquivalentExchange3 ee3mod;
|
||
|
}
|
||
|
|
||
|
private static void init()
|
||
|
{
|
||
|
if (ee3Mod != null)
|
||
|
{
|
||
|
EE3Wrapper.ee3mod = (EquivalentExchange3) ee3Mod;
|
||
|
}
|
||
|
}
|
||
|
}
|