2013-08-23 16:59:50 +02:00
|
|
|
package com.pahimar.ee3.emc;
|
|
|
|
|
|
|
|
import java.util.HashMap;
|
2013-09-10 03:48:34 +02:00
|
|
|
import java.util.Map;
|
2013-08-23 16:59:50 +02:00
|
|
|
|
2013-09-10 03:48:34 +02:00
|
|
|
import com.pahimar.ee3.core.util.EnergyStack;
|
2013-08-23 16:59:50 +02:00
|
|
|
import com.pahimar.ee3.item.CustomWrappedStack;
|
|
|
|
|
|
|
|
public class EmcDefaultValues {
|
2013-09-09 21:57:07 +02:00
|
|
|
|
2013-09-10 03:48:34 +02:00
|
|
|
private static EmcDefaultValues defaultValues = null;
|
|
|
|
private Map<CustomWrappedStack, EmcValue> defaultValueMap;
|
2013-08-23 16:59:50 +02:00
|
|
|
|
2013-09-10 03:48:34 +02:00
|
|
|
private EmcDefaultValues() {
|
|
|
|
|
|
|
|
defaultValueMap = new HashMap<CustomWrappedStack, EmcValue>();
|
|
|
|
}
|
|
|
|
|
|
|
|
public static EmcDefaultValues getInstance() {
|
|
|
|
|
|
|
|
if (defaultValues == null) {
|
|
|
|
defaultValues = new EmcDefaultValues();
|
|
|
|
defaultValues.init();
|
|
|
|
}
|
|
|
|
|
|
|
|
return defaultValues;
|
|
|
|
}
|
|
|
|
|
|
|
|
private void init() {
|
|
|
|
|
|
|
|
defaultValueMap.put(
|
|
|
|
new CustomWrappedStack(new EnergyStack(EnergyStack.VANILLA_SMELTING_ENERGY_NAME, 1)),
|
|
|
|
new EmcValue(1, EmcComponent.KINETIC_UNIT_COMPONENT)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
public Map<CustomWrappedStack, EmcValue> getDefaultValueMap() {
|
|
|
|
|
|
|
|
return defaultValueMap;
|
2013-08-23 16:59:50 +02:00
|
|
|
}
|
|
|
|
}
|