More IMC stuff

This commit is contained in:
pahimar 2013-11-26 23:42:45 -05:00
parent 1109bf31db
commit 498c29db31
5 changed files with 16 additions and 4 deletions

View file

@ -165,6 +165,7 @@ public class EquivalentExchange3 {
public void modsLoaded(FMLPostInitializationEvent event) {
EmcRegistry.lazyInit();
EmcRegistry.printStackValueMappings();
}
@EventHandler

View file

@ -12,8 +12,8 @@ public class StackValueMapping {
public final WrappedStack wrappedStack;
public final EmcValue emcValue;
public StackValueMapping(WrappedStack wrappedStack, EmcValue emcValue) {
this.wrappedStack = wrappedStack;
public StackValueMapping(Object object, EmcValue emcValue) {
this.wrappedStack = new WrappedStack(object);
this.emcValue = emcValue;
}

View file

@ -0,0 +1,10 @@
package com.pahimar.ee3.core.handler.addon;
public class AddonEmcValues {
public static void init() {
//FMLInterModComms.sendMessage(Reference.MOD_ID, InterModCommsOperations.EMC_ASSIGN_VALUE_PRE, new StackValueMapping(new OreStack("ingotTin"), new EmcValue(256)).toJson());
}
}

View file

@ -12,7 +12,8 @@ package com.pahimar.ee3.core.handler.addon;
public class AddonIMCHandler {
public static void init() {
AddonIMCVanilla.init();
AddonRecipes.init();
AddonEmcValues.init();
}
}

View file

@ -9,7 +9,7 @@ package com.pahimar.ee3.core.handler.addon;
* @license Lesser GNU Public License v3 (http://www.gnu.org/licenses/lgpl.html)
*
*/
public class AddonIMCVanilla {
public class AddonRecipes {
public static void init() {