More IMC stuff
This commit is contained in:
parent
1109bf31db
commit
498c29db31
|
@ -165,6 +165,7 @@ public class EquivalentExchange3 {
|
|||
public void modsLoaded(FMLPostInitializationEvent event) {
|
||||
|
||||
EmcRegistry.lazyInit();
|
||||
EmcRegistry.printStackValueMappings();
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
|
@ -12,7 +12,8 @@ package com.pahimar.ee3.core.handler.addon;
|
|||
public class AddonIMCHandler {
|
||||
|
||||
public static void init() {
|
||||
AddonIMCVanilla.init();
|
||||
AddonRecipes.init();
|
||||
AddonEmcValues.init();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
Loading…
Reference in a new issue