I'm am currently working on a MOD and I want to add in an EMC value for this item. I am having a few issues, as listed below:
I cannot find a specific API for the projectE mod (I am currently using the files that came off of the github page)
I have tried the following code implementing some of the proxy files found in this zip file but it gives me an error when it tried to add a value to one of my blocks:
Error:
The error is caused by this line of code:
public static IEMCProxy proxy; <-- The implementation of the proxy
proxy.registerCustomEMC(new ItemStack(ModBlocks.metadataBlocks2, 1, 0), 2048); <-- this one returning null
Is there something I am doing wrong? Any help would be appreciated.